예제 #1
0
        public void ShouldSetTheCorrespondingFieldsForAProcessedGroup()
        {
            var result = _factory.Build(_group);

            result.Name.Should().Be(_group.Name);
            result.MetaDescription.Should().Be(_group.MetaDescription);
            result.Description.Should().Be(_group.Description);
            result.Slug.Should().Be(_group.Slug);
            result.Address.Should().Be(_group.Address);
            result.Website.Should().Be(_group.Website);
            result.Email.Should().Be(_group.Email);
            result.PhoneNumber.Should().Be(_group.PhoneNumber);
            result.ImageUrl.Should().Be(_group.ImageUrl);
            result.MapDetails.MapPosition.Lat.Should().Be(_group.MapPosition.Lat);
            result.MapDetails.MapPosition.Lon.Should().Be(_group.MapPosition.Lon);
            result.ThumbnailImageUrl.Should().Be(_group.ThumbnailImageUrl);
            result.Twitter.Should().Be(_group.Twitter);
            result.Facebook.Should().Be(_group.Facebook);
            result.AdditionalInformation.Should().Be(_group.AdditionalInformation);
        }