예제 #1
0
        public void Then_The_Totals_Are_Added(InnerApi.Responses.GetEmployerFeedbackAttributeItem source)
        {
            var actual = (Api.Models.GetEmployerFeedbackAttributeItem)source;

            actual.TotalVotes.Should().Be(source.Weakness + source.Strength);
            actual.Rating.Should().Be(source.Strength - source.Weakness);
        }
예제 #2
0
        public void Then_The_Fields_Are_Mapped(InnerApi.Responses.GetEmployerFeedbackAttributeItem source)
        {
            var actual = (Api.Models.GetEmployerFeedbackAttributeItem)source;

            actual.Should().BeEquivalentTo(source);
        }