- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testUrlSource (1.37 sec)
-
maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; class UrlSourceTest { @Test void testUrlSource() { NullPointerException e = assertThrows( NullPointerException.class, () -> new UrlSource(null), "Should fail, since you must specify a url"); assertEquals("url cannot be null", e.getMessage());
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Sat Apr 15 17:24:20 GMT 2023 - 2K bytes - Viewed (0)