public void ConstructParametersTest(Dictionary <string, object> source, Action <List <SqlParameter> > assert) { var dataContextMock = new Mock <IDataContext>(); AppUserRepository ss = new AppUserRepository(dataContextMock.Object); assert(ss.ConstructParameters(source)); }