@Test
void shouldLoadConfig(@TempDir final Path home) throws Exception {

    createConfig(home, "allure-test.yml");
    final ConfigOptions options = mock(ConfigOptions.class);
    when(options.getProfile()).thenReturn("test");
    final Commands commands = new Commands(home);
    final CommandlineConfig config = commands.getConfig(options);
    assertThat(config)
            .isNotNull();
    assertThat(config.getPlugins())
            .hasSize(3)
            .containsExactly("a", "b", "c");
}