Skip to content

Commit

Permalink
jongo: tests fixes according to recent changes
Browse files Browse the repository at this point in the history
Signed-off-by: Ketoth Xupack <ketoth.xupack@gmail.com>
  • Loading branch information
KetothXupack committed Oct 10, 2013
1 parent 4fd3683 commit 4ddc8f9
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void incorrectUnmarshalling() {

@Test(expected = MarshallingException.class)
public void incorrectMarshalling() {
new JacksonProcessor().marshall(new Object() {});
new JacksonProcessor().marshall(new Bean());
}

@Test
Expand Down Expand Up @@ -145,4 +145,11 @@ public int hashCode() {
return val != null ? val.hashCode() : 0;
}
}

static class Bean {
Bean bean;
Bean() {
bean = this;
}
}
}

0 comments on commit 4ddc8f9

Please sign in to comment.