public void Then_The_Fields_Are_Mapped(ProviderWithStandardAndLocation source)
        {
            var actual = (ProviderFeedbackRating)source;

            actual.FeedbackName.Should().Be(source.FeedbackName);
            actual.FeedbackCount.Should().Be(source.FeedbackCount);
        }
        public void Then_The_Fields_Are_Mapped(ProviderWithStandardAndLocation source)
        {
            var actual = (ProviderFeedbackAttribute)source;

            actual.AttributeName.Should().Be(source.AttributeName);
            actual.Strength.Should().Be(source.Strength);
            actual.Weakness.Should().Be(source.Weakness);
        }
예제 #3
0
        public void Then_The_Fields_Are_Correctly_Mapped(ProviderWithStandardAndLocation source)
        {
            var actual = (AchievementRate)source;

            actual.Should().BeEquivalentTo(source, options => options.ExcludingMissingMembers());
        }