@Test
public void hashCodeConsistentWithEquals() {

    final SchemaSource schemaSource2 = new SchemaSource(INPUT_STREAM,
        "another id");
    assertFalse("Expected different hash codes for not equal objects",
            schemaSource.hashCode() == schemaSource2.hashCode());
}