@Test
public void testEqualityHashCode() {
QL.info("Testing Equality and HashCode ...");
final DayCounter business252Brazil = new Business252(new Brazil(Brazil.Market.SETTLEMENT));
final DayCounter business252Brazil1 = new Business252(new Brazil(Brazil.Market.SETTLEMENT));
final DayCounter business252China = new Business252(new China(China.Market.SSE));
final DayCounter simpleDayCounter = new SimpleDayCounter();
final DayCounter actual360 = new Actual360();
final DayCounter actual365Fixed = new Actual365Fixed();
final DayCounter actualActual = new ActualActual();
final DayCounter thirty360 = new Thirty360();
final DayCounter thirty360_2 = new Thirty360();
assertFalse(thirty360.equals(null));
assertEquals(thirty360, thirty360);
assertEquals(thirty360, thirty360_2);
assertFalse(simpleDayCounter.equals(business252Brazil));
assertFalse(business252Brazil.equals(simpleDayCounter));
assertFalse(actual360.equals(actual365Fixed));
assertFalse(actual365Fixed.equals(actual360));
assertFalse(actualActual.equals(thirty360));
assertFalse(thirty360.equals(actualActual));
assertFalse(business252Brazil.equals(business252China));
assertFalse(business252China.equals(business252Brazil));
assertTrue(business252Brazil.equals(business252Brazil1));
assertTrue(business252Brazil.eq(business252Brazil1));
assertFalse(business252Brazil.ne(business252Brazil1));