public void Insert_GivenPocoWithColumnsOfDifferentAccessSpecifiers_ShouldInsert() { var p = new AccessSpecifiersPoco(); p.SetValues(1, 2, 3, 4); DB.Insert(p); var otherP = DB.Single<AccessSpecifiersPoco>(p.Id); otherP.ShouldBeValid(1, 2, 3, 4); }
public void Insert_GivenPocoWithColumnsOfDifferentAccessSpecifiers_ShouldInsert() { var p = new AccessSpecifiersPoco(); p.SetValues(1, 2, 3, 4); DB.Insert(p); var otherP = DB.Single <AccessSpecifiersPoco>(p.Id); otherP.ShouldBeValid(1, 2, 3, 4); }