### Question:
FeatureBuilder { public FeatureBuilder(RevFeatureType type) { this.type = type; this.featureType = type.type(); this.attNameToRevTypeIndex = GeogigSimpleFeature.buildAttNameToRevTypeIndex(type); } FeatureBuilder(RevFeatureType type);  FeatureBuilder(SimpleFeatureType type); RevFeatureType getType(); Feature build(final String id, final RevFeature revFeature); Feature buildLazy(final String id, final Node node, final RevObjectParse parser);  }### Answer:
@Test public void testFeatureBuilder() { FeatureBuilder builder = new FeatureBuilder(pointsType); RevFeature point1 = RevFeatureBuilder.build(points1); Feature test = builder.build(idP1, point1); assertEquals(points1.getName(), test.getName()); assertEquals(points1.getIdentifier(), test.getIdentifier()); assertEquals(points1.getType(), test.getType()); assertEquals(points1.getUserData(), test.getUserData()); RevFeature feature = RevFeatureBuilder.build(test); Feature test2 = builder.build(idP1, feature); assertEquals(((SimpleFeature) test).getAttributes(), ((SimpleFeature) test2).getAttributes()); }