- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testGettersHappyPath (0.06 seconds)
-
src/test/java/jcifs/smb1/smb1/AllocInfoTest.java
/** * Happy path – verifies that getters return the values supplied by the * implementation. */ @Test @DisplayName("verify getters return stubbed values") void testGettersHappyPath() { when(mockAllocInfo.getCapacity()).thenReturn(1000L); when(mockAllocInfo.getFree()).thenReturn(400L); assertEquals(1000L, mockAllocInfo.getCapacity(), "capacity should match stubbed value");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0)