@Test
public void shouldReturnFirstThirtyMatchesForCurrentUserGivenUnverifiedUser() throws JSONException {

    doReturn(false).when(user).isVerified();
    queryBuilder = new PaginatedSearchQueryBuilder(applicationContext, "john");
    String actualQuery = queryBuilder.queryForMatchingChildrenFirstPage();
    String expectQuery = "SELECT child_json, synced " +
            "FROM children WHERE ( child_owner = 'user1' AND child_json LIKE '%john%' OR id LIKE '%john%') LIMIT 30";
    assertEquals(expectQuery, actualQuery);
}