@Test
public void withCategoryName() {

	Transaction transaction1 = new Transaction(new Date(), "a desc", 1003, null, "acct1");
	Transaction transaction2 = transaction1.withCategoryName("A Category");
	assertNotNull(transaction2);
	assertNotSame(transaction1, transaction2);
	assertIdsEqual(transaction1, transaction2);
	assertEquals(null, transaction1.getCategoryName());
	assertEquals("A Category", transaction2.getCategoryName());
}