public void CanDeleteDirectoryThatExists() { var state = new FileSystemState(); var root = state.GetRootDirectory(); var isAddDirectorySuccess = _directoryController.TryAddDirectory("Test", new Permission(), root, out var addedDirectory); var isDeleteDirectorySuccess = _directoryController.TryDeleteDirectory("Test", root); Assert.IsTrue(isAddDirectorySuccess); Assert.IsTrue(isDeleteDirectorySuccess); }