- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for TestException (0.07 seconds)
-
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() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/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() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 5.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/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() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 5.7K bytes - Click Count (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() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 8K bytes - Click Count (0) -
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() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 8K bytes - Click Count (0)