public void ShouldMap() { var entity = new CourseBuilder().Build(); var model = new CourseToCourseJsonModelMapper().Build(entity); model.CourseCode.ShouldBe(entity.CourseCode); model.CourseTitle.ShouldBe(entity.CourseTitle); }
public void ShouldMap() { var entity = new CourseBuilder().Build(); var model = new CourseToCourseJsonModelMapper().Build(entity); model.CourseCode.ShouldBe(entity.CourseCode); model.CourseTitle.ShouldBe(entity.CourseTitle); }