Implemented 2 methods in MockFile.cs

public override void WriteAllText(string path, string contents, Encoding encoding)

public override void WriteAllLines(string path, string[] contents, Encoding encoding)