public FileSystemFluentMock File(string name)
 {
     var fileItem = new FileItem(name);
     UpdateActiveItem(fileItem);
     return this;
 }
 private void MockFile(DirectoryItem parent, FileItem fileItem)
 {
     string filePath = Path.Combine(parent.FullPath, fileItem.Name);
     fileMock.Exists(filePath).Returns(true);
     fileMock.ReadAllText(filePath).Returns(fileItem.Contents);
 }