@Test
public void testGetActiveRoomsByMethod() {

    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.75, result.get("room1"), 0);
    assertEquals(0.25, result.get("room2"), 0);
    result = underTest.getActiveRoomsByMethod(interval, ActiveMethod.ToMV, 10, true);
    assertEquals(2, result.size());
    assertEquals(0.15, result.get("room1"), 0);
    assertEquals(0.05, result.get("room2"), 0);
}