@Test
public void testBoundsWithSelectNoGeom() throws Exception {

    SimpleFeatureSource transformed = transformWithSelection();
    ReferencedEnvelope re = transformed.getBounds(new Query("states_mini", Filter.INCLUDE,
            new String[] { "state_name" }));
    assertNull(re);
}