@Test
  public void testLookupFeatureType() throws Exception {
    try {
      rts.getSchema(MockData.GENERICENTITY.getLocalPart());
      fail("The original type name should not be visible");
    } catch (IOException e) {
      // cool, as expected
    }

    final SimpleFeatureType schema = rts.getSchema(RENAMED);
    assertNotNull(schema);
    assertEquals(primitive, schema);
  }