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