- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TestException (0.14 sec)
-
src/test/java/jcifs/util/transport/ResponseTest.java
} @Test void testException() { Exception testException = new IllegalArgumentException("Another Test Exception"); mockResponse.exception(testException); // Verify that the method was called with the correct argument verify(mockResponse, times(1)).exception(testException); } @Test void testGetNextResponse() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.5K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java
public BeanItf2 getAnotherBean() { return anotherBean; } @Override public void throwException() throws TestException { throw new TestException(); } } static class TestException extends Exception {}
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
assertThrows(SomeCheckedException.class, iter::hasNext); // But the second time, AbstractIterator itself throws an ISE assertThrows(IllegalStateException.class, iter::hasNext); } public void testException() { SomeUncheckedException exception = new SomeUncheckedException(); Iterator<Integer> iter = new AbstractIterator<Integer>() { @Override public Integer computeNext() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.8K bytes - Viewed (0)