Permalink
Browse files

Fixed builder factory test

  • Loading branch information...
1 parent 6f30c30 commit 5026149596e11ee2953b8c361c7a20002e70c70d @poetix poetix committed May 3, 2012
@@ -22,7 +22,7 @@
BuilderWithIncorrectType with_bar(String bar);
}
- @Test(expected=IllegalArgumentException.class) public void
+ @Test(expected=NullPointerException.class) public void
detects_missing_properties() {
BuilderFactory.validating(BuilderWithMisspeltProperty.class).against(Record.class);
}

0 comments on commit 5026149

Please sign in to comment.