public void CommandOperator_DefaultValues_SetsNothing()
        {
            var expected = new GetAzureServiceCommand();

            Command actual = expected;

            Assert.That(actual.Parameters, Is.Empty);
        }
        public void CommandOperator_ServiceNameIsEmpty_SetsNothing()
        {
            var expected = new GetAzureServiceCommand
            {
                ServiceName = String.Empty
            };

            Command command = expected;
            var actual = command.Parameters.FirstOrDefault(x => x.Name == GetAzureServiceCommand.ServiceNameParameter);

            Assert.That(actual, Is.Null);
        }
        public void CommandOperator_ServiceNameIsSomething_SetsServiceName()
        {
            var expected = new GetAzureServiceCommand
            {
                ServiceName = "SomeService"
            };

            Command command = expected;
            var actual = command.Parameters.FirstOrDefault(x => x.Name == GetAzureServiceCommand.ServiceNameParameter);

            Assert.That(actual, Is.Not.Null);
            Assert.That(actual.Value, Is.EqualTo(expected.ServiceName));
        }