public void testFeatureTypeNoSRS() throws Exception {
// build a feature type (it's already in the catalog, but we just want to
// check it's built as expected
// LINES is a feature type with a native SRS, so we want the bounds to be there
Catalog cat = getCatalog();
CatalogBuilder cb = new CatalogBuilder(cat);
cb.setStore(cat.getDataStoreByName(MockData.BRIDGES.getPrefix()));
FeatureTypeInfo fti = cb.buildFeatureType(toName(MockData.BRIDGES));
// perform basic checks, this has no srs so no lat/lon bbox computation possible
assertNull(fti.getSRS());
assertNull(fti.getNativeCRS());
assertNull(fti.getNativeBoundingBox());
assertNull(fti.getLatLonBoundingBox());
// force bounds computation
cb.setupBounds(fti);
assertNotNull(fti.getNativeBoundingBox());
assertNull(fti.getNativeBoundingBox().getCoordinateReferenceSystem());
assertNull(fti.getLatLonBoundingBox());
}