@Test
	public void testTransactionIngEquals() {
		GregorianCalendar date1 = new GregorianCalendar(2011, 1, 1);
		GregorianCalendar date2 = new GregorianCalendar(2010, 1, 1);
		String name1 = "Name1";
		String name2 = "Name2";
		int oppAccount1 = 123456;
		int oppAccount2 = 654321;
		double amount1 = 9.35;
		double amount2 = 35.09;
		boolean isFrom1 = true;
		boolean isFrom2 = false;
		int type1 = 2;
		int type2 = 5;
		String message1 = "message1";

		TransactionIng test1;
		TransactionIng test2;

		test1 = new TransactionIng(date1, name1, oppAccount1, amount1, isFrom1,
				type1, message1);
		test2 = new TransactionIng(date2, name1, oppAccount1, amount1, isFrom1,
				type1, message1);
		Assert.assertFalse(test1.equals(test2));

		test1 = new TransactionIng(date1, name1, oppAccount1, amount1, isFrom1,
				type1, message1);
		test2 = new TransactionIng(date1, name2, oppAccount1, amount1, isFrom1,
				type1, message1);
		Assert.assertFalse(test1.equals(test2));

		test1 = new TransactionIng(date1, name1, oppAccount1, amount1, isFrom1,
				type1, message1);
		test2 = new TransactionIng(date1, name1, oppAccount2, amount1, isFrom1,
				type1, message1);
		Assert.assertFalse(test1.equals(test2));

		test1 = new TransactionIng(date1, name1, oppAccount1, amount1, isFrom1,
				type1, message1);
		test2 = new TransactionIng(date1, name1, oppAccount1, amount2, isFrom1,
				type1, message1);
		Assert.assertFalse(test1.equals(test2));

		test1 = new TransactionIng(date1, name1, oppAccount1, amount1, isFrom1,
				type1, message1);
		test2 = new TransactionIng(date1, name1, oppAccount1, amount1, isFrom2,
				type1, message1);
		Assert.assertFalse(test1.equals(test2));

		test1 = new TransactionIng(date1, name1, oppAccount1, amount1, isFrom1,
				type1, message1);
		test2 = new TransactionIng(date1, name1, oppAccount1, amount1, isFrom1,
				type2, message1);
		Assert.assertFalse(test1.equals(test2));

		test1 = new TransactionIng(date1, name1, oppAccount1, amount1, isFrom1,
				type1, message1);
		test2 = new TransactionIng(date1, name1, oppAccount1, amount1, isFrom1,
				type1, message1);
		Assert.assertEquals(test1, test2);
	}