public void when_send_file_path_should_execute_the_command() { var comandPath = PowerShellCommand.PathOfPowerShellFile; Action action = () => _commandExecutor.ExecuteFile(comandPath); action.Should().NotThrow <CommandExecutorException>(); }