import org.hamcrest.Matchers.equalTo
import org.hamcrest.Matchers.notNullValue
import org.junit.Test
+import java.net.*
/**
* Unit test for [GetImagePage].
@Test
fun `page is not link-excepted`() {
- assertThat(page.isLinkExcepted(null), equalTo(false))
+ assertThat(page.isLinkExcepted(URI("")), equalTo(false))
}
@Test