1 package net.pterodactylus.sone.text
3 import org.hamcrest.MatcherAssert.assertThat
4 import org.hamcrest.Matchers.`is`
8 * Unit test for [FreenetLinkPart].
10 class FreenetLinkPartTest {
13 fun linkIsUsedAsTitleIfNoTextIsGiven() {
14 assertThat(FreenetLinkPart("link", "text", true).title, `is`("link"))