public void SetUp() { var effortContext = new EffortContext <SingleObjectContext>("data/simpleObject"); simpleObjectsFromContext = effortContext.GetContext().SimpleObjects.ToList(); }
public void ShouldMapCorrectlyTheObjectIfTableNameHasBeenAnnotated() { var effortContext = new EffortContext <SingleObjectWithTableNameContext>("data/singleObject_WithTableAnnotation"); Assert.AreEqual(12, effortContext.GetContext().ObjectsWithOnlyAnId.First().Id); }