CanExecute() public method

public CanExecute ( ClassWithSourceCode childClass, Settings settings = null ) : bool
childClass ClassWithSourceCode
settings Settings
return bool
        public void CreateMixinFromInterfaceCommand_NoMixin()
        {
            var command = new CreateMixinFromInterfaceCommand(null);
            var childClass = NSubstitute.Substitute.For<ClassWithSourceCode>();

            Assert.IsFalse(command.CanExecute(childClass));
        }