@Test
public void simpleQuery() throws Exception {

    Cursor cursor = contentResolver.query(
            ActivityDiaryContract.DiaryActivity.CONTENT_URI,
            ActivityDiaryContract.DiaryActivity.PROJECTION_ALL,
            null,
            null,
            ActivityDiaryContract.DiaryActivity.SORT_ORDER_DEFAULT);
    assertNotNull(cursor);
    assertTrue("at least some random data", cursor.getCount() > 0);
}