@Override
  public boolean equals( Object obj ) {
    if ( !( obj instanceof TransMeta ) ) {
      return false;
    }

    return compare( this, (TransMeta) obj ) == 0;
  }
@Test
  public void testEquals() {
    TransMeta transMeta = new TransMeta( "1", "2" );
    assertNotEquals( "somethingelse", transMeta );
    assertEquals( transMeta, new TransMeta( "1", "2" ) );
  }