Searched refs:echoCaptor (Results 1 – 1 of 1) sorted by relevance
48 ArgumentCaptor<String> echoCaptor = ArgumentCaptor.forClass(String.class); in verifyMockedStringMethod() local49 verify(() -> {return EchoClass.echo(echoCaptor.capture());}); in verifyMockedStringMethod()50 assertEquals("marco!", echoCaptor.getValue()); in verifyMockedStringMethod()84 ArgumentCaptor<String> echoCaptor = ArgumentCaptor.forClass(String.class); in verifyWithTwoMocks() local85 verify(() -> {return EchoClass.echo(echoCaptor.capture());}); in verifyWithTwoMocks()86 assertEquals("marco!", echoCaptor.getValue()); in verifyWithTwoMocks()100 ArgumentCaptor<String> echoCaptor = ArgumentCaptor.forClass(String.class); in verifySpiedStringMethod() local101 verify(() -> {return EchoClass.echo(echoCaptor.capture());}); in verifySpiedStringMethod()102 assertEquals("marco!", echoCaptor.getValue()); in verifySpiedStringMethod()