use of com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector in project jackson-databind by FasterXML.
the class TestBuilderMethods method testSimple.
public void testSimple() {
POJOPropertiesCollector coll = collector(SimpleBuilder.class, "with");
Map<String, POJOPropertyBuilder> props = coll.getPropertyMap();
assertEquals(1, props.size());
POJOPropertyBuilder prop = props.get("x");
assertNotNull(prop);
assertTrue(prop.hasField());
assertFalse(prop.hasGetter());
assertTrue(prop.hasSetter());
}
Aggregations