@Test
public void testReadContentFromFileException() throws Exception {

    NotificationToEmailConverterCommon notificationToEmailConverterCommon = new NotificationToEmailConverterCommon();
    BufferedReader reader = mock(BufferedReader.class);
    Mockito.when(reader.readLine()).thenThrow(new IOException());
    assertTrue(notificationToEmailConverterCommon.readContentFromFile(getClass().getClassLoader(), "resources/dummy").isEmpty());
}