private static void ShouldNotHaveIpv6SubCommand(MethodInvocation obj)
 {
     var subCommand = (string) obj.Arguments.Last();
     Assert.IsFalse(subCommand.StartsWith("interface ipv6"));
 }
        private void StoreMessage(MethodInvocation obj)
        {
            var firstArg = obj.Arguments[0] as object[];
            if (firstArg != null)

                _sentMessages.AddRange(firstArg.OfType<IMessage>());
        }