@Test
public void whenUpdateItemThatItemChangeInMassive(){

	Tracker track = new Tracker();
	String  nameTask1 = "pervaja zajavka";
	String[] answerForAdd  = new String[]{"0","pervaja zajavka","eto pervaja zajavka","y"};
	new StartUI(new StubInput(answerForAdd)).init(track);
	
	Task[] listTask = track.findByFilter(nameTask1);
	String  nameTask2 = "vtoraja zajavka";
	String[] answerForUpdate  = new String[]{"2",nameTask2,"eto vtoraja zajavka",listTask[0].getId(),"y"};
		
	new StartUI(new StubInput(answerForUpdate)).init(track);
	Task[] listTaskUpdate = track.findByFilter(nameTask2);
	
	Assert.assertEquals(listTaskUpdate[0].getName(),nameTask2);
}