- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 654 for mocks (0.02 seconds)
-
android/guava-tests/test/com/google/common/io/FlushablesTest.java
// 'swallowException' when the mock does not throw an exception. setupFlushable(false); doFlush(mockFlushable, false, false); setupFlushable(false); doFlush(mockFlushable, true, false); } public void testFlush_flushableWithEatenException() throws IOException { // make sure that no exception is thrown if 'swallowException' is true // when the mock does throw an exception on flush.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/CIFSContextTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.net.URLStreamHandler; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mock; /** * Test class for CIFSContext interface functionality */ @DisplayName("CIFSContext Tests")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
docs/pt/docs/how-to/graphql.md
## Bibliotecas GraphQL { #graphql-libraries } Aqui estão algumas das bibliotecas **GraphQL** que têm suporte **ASGI**. Você pode usá-las com **FastAPI**: * [Strawberry](https://strawberry.rocks/) 🍓 * Com [documentação para FastAPI](https://strawberry.rocks/docs/integrations/fastapi) * [Ariadne](https://ariadnegraphql.org/) * Com [documentação para FastAPI](https://ariadnegraphql.org/docs/fastapi-integration)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
private CIFSContext mockDelegate; private Configuration mockConfiguration; private CIFSContextWrapper cifsContextWrapper; @BeforeEach void setUp() { mockDelegate = mock(CIFSContext.class); mockConfiguration = mock(Configuration.class); when(mockDelegate.getConfig()).thenReturn(mockConfiguration);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0) -
docs/tr/docs/how-to/graphql.md
## GraphQL Kütüphaneleri { #graphql-libraries } Aşağıda **ASGI** desteği olan bazı **GraphQL** kütüphaneleri var. Bunları **FastAPI** ile kullanabilirsiniz: * [Strawberry](https://strawberry.rocks/) 🍓 * [FastAPI dokümantasyonu](https://strawberry.rocks/docs/integrations/fastapi) ile * [Ariadne](https://ariadnegraphql.org/) * [FastAPI dokümantasyonu](https://ariadnegraphql.org/docs/fastapi-integration) ile * [Tartiflette](https://tartiflette.io/)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 3.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
import org.mockito.Mock; import org.mockito.MockedStatic; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSException; import jcifs.spnego.NegTokenInit; @ExtendWith(MockitoExtension.class) class Kerb5ContextTest { @Mock private GSSManager gssManager; @Mock private GSSContext gssContext; @Mock private GSSName serviceName; @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.2K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
final SearchResponse mockScrollResponse = mock(SearchResponse.class); final SearchHits mockScrollHits = mock(SearchHits.class); final ActionFuture<SearchResponse> mockScrollFuture = mock(ActionFuture.class); final BulkRequestBuilder mockBulkBuilder = mock(BulkRequestBuilder.class); final BulkResponse mockBulkResponse = mock(BulkResponse.class);Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Jan 12 06:25:38 GMT 2026 - 16.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java
} }; NotificationHelper notificationHelper = new NotificationHelper() { // Mock send method public void send(final Object postcard) { // Mock implementation } }; // Mock Postbox - no need to mock, the framework will handle it // Register componentsCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
// Mock the transport layer smbTransport = mock(SmbTransport.class); smbTransport.rcv_buf_size = 4096; smbTransport.snd_buf_size = 4096; // Mock the session layer smbSession = mock(SmbSession.class); smbSession.transport = smbTransport; // Mock the tree layer smbTree = mock(SmbTree.class); smbTree.session = smbSession;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.DfsReferralData; /** * Test class for DfsReferralDataInternal interface * Tests the interface contract using mock implementations and concrete class */ @DisplayName("DfsReferralDataInternal Interface Tests") class DfsReferralDataInternalTest { @Mock private DfsReferralDataInternal mockReferralData;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 28.2K bytes - Click Count (0)