/**
* Unit test for {@link PostPart}.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
public class PostPartTest {
assertThat(part.getText(), is("text"));
}
+ @Test(expected = NullPointerException.class)
+ public void nullIsNotAllowedForPost() {
+ new PostPart(null);
+ }
+
}