title: EasyMock - how to set mock object to a field without setter?
body: <p>i have a class with the field that initialized without setter using static call:</p>
  
  <p>class A{</p>
  
  <p>private B b = Env.getEnv().getInstance("b");</p>
  
  <p>...</p>
  
  <p>}</p>
  
  <p>i want to test class A supplying a mock of class B.
  Is it possible?
  The A class is not mine and i can't use setter, reflection here also not possible.</p>
  
  <p>Any help will be appreceated!</p>
  
  <p>Thank you,</p>
  
  <p>Yan</p>