@Test
public void testTransform() throws Exception {

    final URI uri = getClass().getResource("/mockSchema.xsd").toURI();
    final SchemaSource source = transformer.transform(uri);
    assertNotNull("Returned schema source is null.", source);
    assertEquals("Unexpected schema source.", uri.toString(),
            source.toString());
}