public void SetChildren_CanBeCheckedWithHasDirectoryAndHasFile() { var target = new FileSystemItem(); target.SetChildren("existing"); Assert.That(target.FileExists("existing")); Assert.IsFalse(target.FileExists("not-existing")); }