I have to implement a unit test method that needs to mock datacontextcontainer. Below is the code i have to mock
using (var dcc = new DataEntities.DataContextContainer())
{
}
How can i mock DataEntities.DataContextContainer(). When ever i use to call this statement i m getting new instance. Can some please help me on this.