### Question:
GT { public static Feature feature(SimpleFeature feature) { return new GTFeature(feature); }  static void initLonLatAxisOrder(); static void initLaxComparisonTolerance(); static Feature feature(SimpleFeature feature); static SimpleFeature feature(Feature feature); static SimpleFeature feature(Feature feature, SimpleFeatureType featureType); static Schema schema(SimpleFeatureType featureType); static SimpleFeatureType featureType(Schema schema); static Iterator<SimpleFeature> iterator(final Cursor<Feature> cursor); static Expression expr(final io.jeo.filter.Expression expr); static Filter filter(final io.jeo.filter.Filter filter, SimpleFeatureType featureType); static CoordinateReferenceSystem crs(org.opengis.referencing.crs.CoordinateReferenceSystem crs); static BufferedImage draw(View v); static void drawAndShow(View v);  }### Answer:
@Test public void testToFeature() { SimpleFeatureBuilder b = new SimpleFeatureBuilder(buildFeatureType()); b.add(new GeometryBuilder().point(0,0)); b.add("bomb"); b.add(1); b.add(10.99); SimpleFeature sf = b.buildFeature(null); Feature f = GT.feature(sf); assertNotNull(f.get("geometry")); assertTrue(f.get("geometry") instanceof Point); assertEquals("bomb", f.get("name")); assertEquals(1, f.get("id")); assertEquals(10.99, f.get("price")); assertTrue(f.has("geometry")); assertTrue(f.has("price")); assertFalse(f.has("NOT THERE AT ALL")); }
@Test public void testFromFeature() { Feature f = new MapFeature(null, (Map)Util.map("geometry", new GeometryBuilder().point(0,0), "id", 1, "name", "bomb", "price", 10.99)); SimpleFeature sf = GT.feature(f); assertNotNull(sf.getAttribute("geometry")); assertTrue(sf.getAttribute("geometry") instanceof Point); assertEquals("bomb", sf.getAttribute("name")); assertEquals(1, sf.getAttribute("id")); assertEquals(10.99, sf.getAttribute("price")); }