ConfigKey { @Override public boolean equals(Object obj) { if (obj instanceof ConfigKey) { ConfigKey<?> that = (ConfigKey<?>)obj; return this._name.equals(that._name); } return false; } ConfigKey(String category, Class<T> type, String name, String defaultValue, String description, boolean isDynamic, Scope scope);  ConfigKey(String category, Class<T> type, String name, String defaultValue, String description, boolean isDynamic);  ConfigKey(Class<T> type, String name, String category, String defaultValue, String description, boolean isDynamic, Scope scope, T multiplier); @Deprecated  ConfigKey(Class<T> type, String name, String category, String defaultValue, String description, boolean isDynamic); String category(); Class<T> type(); final String key(); String defaultValue(); String description(); Scope scope(); boolean isDynamic(); @Override String toString(); static void init(ConfigDepotImpl depot); T multiplier(); @Override int hashCode(); @Override boolean equals(Object obj); boolean isSameKeyAs(Object obj); T value(); T valueIn(Long id);  }
@Test public void testEquals() { new EqualsTester() .addEqualityGroup(new ConfigKey("cat", String.class, "naam", "nick", "bijnaam", true, Scope.Cluster), new ConfigKey("hond", Boolean.class, "naam", "truus", "thrown name", false), new ConfigKey(Long.class, "naam", "vis", "goud", "zwemt", true, Scope.Account, 3L) ) .testEquals(); }