X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Ftest%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Ftext%2FPostPartTest.java;h=2dcc946c616dd0d8adf4267c29f9678e04fb032f;hp=e26f52478eb6c55beac0e5a475a22ef5bd431f23;hb=696f2b9f710796f4929bdcae02b865baade4e990;hpb=852bb107b491884ed09a1a223c67ea05a5de73b9 diff --git a/src/test/java/net/pterodactylus/sone/text/PostPartTest.java b/src/test/java/net/pterodactylus/sone/text/PostPartTest.java index e26f524..2dcc946 100644 --- a/src/test/java/net/pterodactylus/sone/text/PostPartTest.java +++ b/src/test/java/net/pterodactylus/sone/text/PostPartTest.java @@ -40,6 +40,16 @@ public class PostPartTest { private final PostPart postPart = new PostPart(post); @Test + public void postPartIsNotAPlainTextPart() { + assertThat(postPart.isPlainText(), is(false)); + } + + @Test + public void postPartIsNotAFreenetLink() { + assertThat(postPart.isFreenetLink(), is(false)); + } + + @Test public void postPartCanStoreAndReturnPost() { assertThat(postPart.getPost(), is(post)); }