@Test
public void testConstructorThrowsIllegalArgument() throws B2JsonException {

    String json = "{ \"number\" : 7 }";
    thrown.expect(B2JsonBadValueException.class);
    thrown.expectMessage("not even: 7");
    b2Json.fromJson(json, EvenNumber.class);
}