@Test
public void testRuleCreationFromFileReader_withEmptyComposingRules() {

    // given
    File rulesDescriptor = new File("src/test/resources/composite-rule-invalid-empty-composing-rules." + fileExtension);
    // when
    Assertions.assertThatThrownBy(() -> factory.createRule(new FileReader(rulesDescriptor)))
            // then
            .isInstanceOf(IllegalArgumentException.class)
            .hasMessage("Composite rules must have composing rules specified");
}