projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'release-0.9.6'
[Sone.git]
/
src
/
test
/
java
/
net
/
pterodactylus
/
sone
/
text
/
PostPartTest.java
diff --git
a/src/test/java/net/pterodactylus/sone/text/PostPartTest.java
b/src/test/java/net/pterodactylus/sone/text/PostPartTest.java
index
6666d61
..
7b4ea19
100644
(file)
--- a/
src/test/java/net/pterodactylus/sone/text/PostPartTest.java
+++ b/
src/test/java/net/pterodactylus/sone/text/PostPartTest.java
@@
-30,4
+30,9
@@
public class PostPartTest {
assertThat(part.getText(), is("text"));
}
+ @Test(expected = NullPointerException.class)
+ public void nullIsNotAllowedForPost() {
+ new PostPart(null);
+ }
+
}