Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for thenCallRealMethod (0.43 seconds)

  1. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            lenient().when(handle.getTransportContext()).thenCallRealMethod();
            lenient().when(handle.getServer()).thenCallRealMethod();
            lenient().when(handle.getServerWithDfs()).thenCallRealMethod();
            lenient().when(handle.getSessionKey()).thenCallRealMethod();
            lenient().when(handle.getBinding()).thenReturn(mockDcerpcBinding);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  2. api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java

            when(project.getBuild()).thenReturn(build);
            when(project.getBasedir()).thenReturn(Path.of("myproject"));
            when(project.getOutputDirectory(any(ProjectScope.class))).thenCallRealMethod();
    
            assertEquals(Path.of("myproject", "target", "classes"), targetPath(project));
    
            scope = ProjectScope.TEST;
            assertEquals(Path.of("myproject", "target", "test-classes"), targetPath(project));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Oct 26 17:22:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
Back to Top