コード例 #1
0
        public void NewRabbitMqChannelCommand_HasCorrectParameters(String parameter)
        {
            // Arrange
            var cmdlet = new NewRabbitMqChannelCommand();

            // Act

            // Assert
            Assert.That(TestHelpers.HasParameterAttribute(cmdlet, parameter), Is.True);
        }
コード例 #2
0
        public void NewRabbitMqChannelCommand_IsCmdlet()
        {
            // Arrange
            var cmdlet = new NewRabbitMqChannelCommand();

            // Act

            // Assert
            Assert.That(cmdlet is Cmdlet, Is.True);
        }