### Question:
I18nBundle implements Comparable<I18nBundle> { public String getName() { return _defaultProps.getName(); } I18nBundle(I18nProps defaultProps, Locale locale, File workDir, URL[] sourceUrls); void setLocalizedProp(I18nProps localizedProps); String toString(); String getName(); Integer getMissingTranslationsCount(); void writeMissingProps(IApplication app, File workDir); int compareTo(I18nBundle other); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void testEqualsObject() { EasyMock.expect(mockProps.getName()).andStubReturn("NameOne"); EasyMock.expect(mockProps2.getName()).andStubReturn("NameOne2"); mockHelepr.replayAll(); I18nBundle a = new I18nBundle(mockProps, null, null, null); I18nBundle b = new I18nBundle(mockProps, null, null, null); I18nBundle c = new I18nBundle(mockProps2, null, null, null); I18nBundle d = new I18nBundle(mockProps, null, null, null) {}; new EqualsTester(a, b, c, d); mockHelepr.verifyAll(); }