@Test
public void getNumberOfTransmissions() throws PersistenceException {

    // User Message sent once
    assertEquals(1,
                 queryManager.getNumberOfTransmissions(new UserMessageEntity(new UserMessage(TestData.userMsg6))));
    // User Message sent 2x
    assertEquals(2,
                 queryManager.getNumberOfTransmissions(new UserMessageEntity(new UserMessage(TestData.userMsg2))));
    // User Message not sent
    assertEquals(0,
                 queryManager.getNumberOfTransmissions(new UserMessageEntity(new UserMessage(TestData.userMsg5))));
}