@Test
public void testMissingRequired() throws B2JsonException {

    String json = "{ \"b\" : \"hello\" }";
    thrown.expect(B2JsonException.class);
    thrown.expectMessage("required field a is missing");
    b2Json.fromJson(json, Container.class);
}