Searched refs:EchoClass (Results 1 – 1 of 1) sorted by relevance
44 MockitoSession session = mockitoSession().mockStatic(EchoClass.class).startMocking(); in verifyMockedStringMethod()46 assertNull(EchoClass.echo("marco!")); in verifyMockedStringMethod()49 verify(() -> {return EchoClass.echo(echoCaptor.capture());}); in verifyMockedStringMethod()52 verifyNoMoreInteractions(staticMockMarker(EchoClass.class)); in verifyMockedStringMethod()75 MockitoSession session = mockitoSession().mockStatic(EchoClass.class) in verifyWithTwoMocks()79 assertNull(EchoClass.echo("marco!")); in verifyWithTwoMocks()85 verify(() -> {return EchoClass.echo(echoCaptor.capture());}); in verifyWithTwoMocks()96 MockitoSession session = mockitoSession().spyStatic(EchoClass.class).startMocking(); in verifySpiedStringMethod()98 assertEquals("marco!", EchoClass.echo("marco!")); in verifySpiedStringMethod()101 verify(() -> {return EchoClass.echo(echoCaptor.capture());}); in verifySpiedStringMethod()[all …]