Searched refs:runtimeMock (Results 1 – 2 of 2) sorted by relevance
29 private Runtime runtimeMock; field in UncaughtExceptionHandlersTest33 runtimeMock = mock(Runtime.class); in setUp()37 new Exiter(runtimeMock).uncaughtException(new Thread(), new Exception()); in testExiter()38 verify(runtimeMock).exit(1); in testExiter()