public void WriteAndReadFile() { const string data = "test string"; var handle = new WriteFileHandle(data); handle.OpenWrite(TestFilePath); Loop.Current.Run(); var handle2 = new ReadFileHandle(); handle2.OpenRead(TestFilePath); Loop.Current.Run(); Assert.AreEqual(data, handle2.Content); this.CheckCurrentLoop(); }