303132333435363738
MethodCallRecorder.reset(); } @Test public void finalizeShouldNotBeRecorded() throws Exception { recordCall(new FakeRepositoryImpl()); suggestGarbageCollection(); assertEquals("getValue", MethodCallRecorder.getLastMethod().getName()); }
3738394041424344
@Rule public ExpectedException exception = ExpectedException.none(); @Before public void setup() { fakeRepository = new FakeRepositoryImpl(); Awaitility.reset(); }
3334353637383940