@Test
public void should_find_tasks() throws Exception
{

	final TodoActivity activity = Robolectric.buildActivity(TodoActivity.class).create().get();
	activity.getProvider().addTask("Some task 1");
	activity.getProvider().addTask("Some task 2");
	activity.getProvider().addTask("Some task 3");
	final List<String> tasks = activity.getProvider().findAll();
	Assert.assertEquals(tasks.size(), 3);
}