public void testCancelDeleteConfirmedItem() {
String expectedReturn = "confirm";
Assert.assertNull(toDoBean.getToDelete());
ToDoItem item = new ToDoItem();
String returnValue = toDoBean.deleteItem(item);
Assert.assertSame("Item to be deleted is not set correctly", item, toDoBean.getToDelete());
Assert.assertEquals("Return path is incorrectly set", expectedReturn, returnValue);
Assert.assertNotNull(toDoBean.getToDelete());