Remove @author tags
[Sone.git] / src / test / java / net / pterodactylus / sone / text / PostPartTest.java
index 6666d61..5292f5f 100644 (file)
@@ -11,8 +11,6 @@ import org.junit.Test;
 
 /**
  * Unit test for {@link PostPart}.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
 public class PostPartTest {
 
@@ -30,4 +28,9 @@ public class PostPartTest {
                assertThat(part.getText(), is("text"));
        }
 
+       @Test(expected = NullPointerException.class)
+       public void nullIsNotAllowedForPost() {
+           new PostPart(null);
+       }
+
 }