@Test
public void testGetTopRoomsByMethod() {

    Interval interval = new Interval(mentionDate.minusMillis(1), mentionDate.plusMillis(1));
    Map<String, Double> result =
            underTest.getActiveRoomsByMethod(interval, ActiveMethod.ToTV, 10, true);
    assertEquals(2, result.size());
    assertEquals(0.5, result.get("room1"), 0);
    assertEquals(0.5, result.get("room2"), 0);
    result = underTest.getActiveRoomsByMethod(interval, ActiveMethod.ToMV, 10, true);
    assertEquals(2, result.size());
    assertEquals(1.0, result.get("room1"), 0);
    assertEquals(1.0, result.get("room2"), 0);
}