@Test
public void testSupportedHints() throws Exception {

    SimpleFeatureSource transformed = transformWithSelection();
    Set<Key> hints = transformed.getSupportedHints();
    assertTrue(hints.contains(Hints.FEATURE_DETACHED));
}