@Test
public void shouldReturnErrorWhenThereIsAmbiguous() {

    Assertions.assertThrows(ConfigurationException.class, () -> {
        ConfigurationUnit annotation = mock(ConfigurationUnit.class);
        when(annotation.fileName()).thenReturn("jnosql.json");
        configurationReader.read(annotation, MockConfiguration.class);
    });
}