@Test
public void should_add_new_task() throws Exception
{

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