public void PowerShellScriptPluginConfigurationPlainIsNotValid()
        {
            // Arrange
            var sut = new PowerShellScriptPluginConfiguration();

            // Act
            var result = sut.IsValid();

            // Assert
            Assert.IsFalse(result);
        }
        public void PowerShellScriptPluginConfigurationIsValid()
        {
            // Arrange
            var appclusiveEndpoints = Mock.Create<AppclusiveEndpoints>(Constructor.Mocked);
            var sut = new PowerShellScriptPluginConfiguration();
            sut.Endpoints = appclusiveEndpoints;
            sut.ScriptBase = "C:\\arbitrary-valid-script-base-directory\\";
            sut.ComputerName = "arbitrary-valid-computername";
            sut.ConfigurationName = "arbitrary-valid-configuration-name";
            var username = "******";
            var password = "******";
            var domain = "arbitrary-domain";
            sut.Credential = new NetworkCredential(username, password, domain);

            // Act
            var result = sut.IsValid();

            // Assert
            Assert.IsTrue(result);
        }