public void TestMockState()
 {
     _dataReaderMock.Dispose();
     Assert.AreEqual(DataReaderState.Cancelled, _dataReader.State, "BufferedDataReader.State (mock disposed)");
 }
 public void TestReadMockDisposed()
 {
     _dataReaderMock.Dispose();
     Assert.AreEqual(0, _dataReader.Read(Buffer, 0, Buffer.Length), "FragmentedDataReader.Read() after underlying reader has been disposed");
 }