@Test
public void testConfigurationFileNotExists() {

    assertThatThrownBy(() -> Configuration.initConfiguration("not-exists.yaml"))
            .isInstanceOf(IllegalArgumentException.class)
            .hasMessageMatching("configuration file: .* is not exists");
}