public void TestCanExecute() { Directory test = new Directory("test", null); test.permission = 1; Assert.IsTrue(test.canExecute()); }