@MockPolicy(MockPolicyInvocationHandlerExample.class)
public class MockPolicyWithInvocationHandlerTest {
@Test
public void mockPolicyWithInvocationHandlerWorks() throws Exception {
final SimpleClassWithADependency tested = new SimpleClassWithADependency();
Whitebox.setInternalState(tested, new ResultCalculator(0));
assertEquals(1.0, tested.getResult(), 0.0);
verifyAll();
}