@Test
public void testFromJsonThrows() {

    thrown.expect(IllegalArgumentException.class);
    thrown.expectMessage("failed to convert from json: required field number is missing");
    final String testClassOneStr = "{\n \"name\": \"testABC\"\n}";
    B2Json.fromJsonOrThrowRuntime(testClassOneStr, TestClassOne.class);
}