@Test public void shouldCountByTypeAndKey() { setupData("shouldCountByTypeAndKey"); assertThat(dao.countByTypeAndKey("DASHBOARD", "HOTSPOTS"), is(1)); assertThat(dao.countByTypeAndKey("DASHBOARD", "UNKNOWN"), is(0)); assertThat(dao.countByTypeAndKey("PROFILE", "HOTSPOTS"), is(0)); }