@Test
public void equalsIsTransitive() {

    final SchemaSource schemaSource2 = new SchemaSource(INPUT_STREAM,
            SYSTEM_ID);
    final SchemaSource schemaSource3 = new SchemaSource(INPUT_STREAM,
            SYSTEM_ID);
    assertTrue("Equals is not transitive",
            schemaSource.equals(schemaSource2)
            && schemaSource2.equals(schemaSource3)
            && schemaSource.equals(schemaSource3));
}