@Test
public void shouldReturnNPEWhenConfigurationIsNull() {

    Assertions.assertThrows(NullPointerException.class, () -> {
        ConfigurationUnit annotation = mock(ConfigurationUnit.class);
        configurationReader.read(annotation, null);
    });
}