@Test public void getRequestUrl_returns_null_and_does_nothing_else() { // when String result = implSpy.getRequestUrl(requestMock); // then assertThat(result).isNull(); verify(implSpy).getRequestUrl(requestMock); verifyNoMoreInteractions(implSpy); verifyZeroInteractions(requestMock); }