Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/DbContext/DbTestSet.cs =================================================================== diff -u -r6a639792869015e8e135a6bd40bdad1893ac2970 -r4adf3910b91fba2fe6e7f7766836082046ab769a --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/DbContext/DbTestSet.cs (.../DbTestSet.cs) (revision 6a639792869015e8e135a6bd40bdad1893ac2970) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/DbContext/DbTestSet.cs (.../DbTestSet.cs) (revision 4adf3910b91fba2fe6e7f7766836082046ab769a) @@ -7,10 +7,10 @@ { public static class DbTestSet { - public static IDbSet GetDbTestSet(IList data) where T : class + public static IDbSet GetDbTestSet(MockRepository mockRepository, IList data) where T : class { var queryable = data.AsQueryable(); - var dbSet = MockRepository.GenerateMock, IQueryable>(); + var dbSet = mockRepository.StrictMock>(); dbSet.Stub(m => m.Provider).Return(queryable.Provider); dbSet.Stub(m => m.Expression).Return(queryable.Expression);