Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Moq extension to mock IDataReader with a List<T>

License

Notifications You must be signed in to change notification settings

TCGplayer/Moq.DataReader

 
 

Repository files navigation

IDataReader extension for Moq

Usage

var data = new List<T>() { ... };
var mock = new Mock<IDataReader>();
mock.SetupDataReader(data);
IDataReader r = mock.Object;

Not implemented

These methods are not implemented and will return default value:

  • Depth
  • RecordAffected

About

Moq extension to mock IDataReader with a List<T>

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%