@Test
void shouldListPlugins(@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 ExitCode exitCode = commands.listPlugins(options);
    assertThat(exitCode)
            .isEqualTo(ExitCode.NO_ERROR);
}