@Test
public void testUnionCreatesHandlers() throws B2JsonException {

    (new B2Json()).fromJson("{\n" +
            "  \"type\": \"a\",\n" +
            "  \"a\": 5,\n" +
            "  \"b\": [10]" +
            "}",
            UnionAZ.class
    );
}