@Test public void testEquals() { MetaDataType tested1 = new MetaDataType(); MetaDataType tested2 = new MetaDataType(); ImportsType tested3 = new ImportsType(); assertEquals(tested1, tested2); assertNotEquals(tested1, tested3); }
@Override public boolean equals(Object o) { return o instanceof MetaDataType; }
MetaDataType implements PropertyType { @Override public boolean equals(Object o) { return o instanceof MetaDataType; } }
MetaDataType implements PropertyType { @Override public boolean equals(Object o) { return o instanceof MetaDataType; }  }
MetaDataType implements PropertyType { @Override public boolean equals(Object o) { return o instanceof MetaDataType; }  @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
MetaDataType implements PropertyType { @Override public boolean equals(Object o) { return o instanceof MetaDataType; }  @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final String NAME; }