public void testExiter() { new Exiter(runtimeMock).uncaughtException(new Thread(), new Exception()); verify(runtimeMock).exit(1); }
public void testExiter() { runtimeMock.exit(1); replay(runtimeMock); new Exiter(runtimeMock).uncaughtException(new Thread(), new Exception()); verify(runtimeMock); }