LocalChatDao implements IChatApiDAO { @Override public Map<String, Room> getRooms() { return rooms; } LocalChatDao(ChatAlyticsConfig config); @Override Map<String, Room> getRooms(); @Override Map<String, User> getUsers(); @Override Map<String, User> getUsersForRoom(Room room); @Override List<Message> getMessages(DateTime start, DateTime end, Room room); @Override Map<String, String> getEmojis();  }
@Test public void testGetRooms() { Map<String, Room> rooms = underTest.getRooms(); assertNotNull(rooms); assertFalse(rooms.isEmpty()); }