Add filter for linked images
[Sone.git] / src / test / java / net / pterodactylus / sone / text / SonePartTest.java
index 6ca2858..589acf7 100644 (file)
@@ -34,4 +34,9 @@ public class SonePartTest {
                assertThat(part.getText(), is("sone"));
        }
 
+       @Test(expected = NullPointerException.class)
+       public void nullIsNotAllowedForSone() {
+           new SonePart(null);
+       }
+
 }