Example #1
0
        public void ShouldMapLocationToLocationListItemModel()
        {
            var entity = new LocationBuilder().Build();
            var model  = new LocationToLocationListItemModelMapper().Build(entity);

            model.Classroom.ShouldBe(entity.ClassroomIdentificationCode);
        }
        public void ShouldMapLocationToLocationListItemModel()
        {
            var entity = new LocationBuilder().Build();
            var model = new LocationToLocationListItemModelMapper().Build(entity);

            model.Classroom.ShouldBe(entity.ClassroomIdentificationCode);
        }