Searched refs:returnedMock (Results 1 – 2 of 2) sorted by relevance
22 Set<?> returnedMock = when(expectedMock.isEmpty()).thenReturn(false).getMock(); in shouldAllowStubbedMockReferenceAccess() local24 assertEquals(expectedMock, returnedMock); in shouldAllowStubbedMockReferenceAccess()29 Set<?> returnedMock = when(mock(Set.class).isEmpty()).thenReturn(false, true).getMock(); in stubbedMockShouldWorkAsUsual() local31 assertEquals(false, returnedMock.isEmpty()); in stubbedMockShouldWorkAsUsual()32 assertEquals(true, returnedMock.isEmpty()); in stubbedMockShouldWorkAsUsual()
233 Set<?> returnedMock = given(expectedMock.isEmpty()).willReturn(false).getMock(); in should_all_stubbed_mock_reference_access() local235 Assertions.assertThat(returnedMock).isEqualTo(expectedMock); in should_all_stubbed_mock_reference_access()