public void SfaPostcodeAreaCostsToEntity() { var sfaPostcodeAreaCost = new SfaPostcodeAreaCost { AreaCostFactor = 1.0m, EffectiveFrom = new DateTime(2018, 8, 1), EffectiveTo = new DateTime(2018, 8, 31) }; var sfaAreaCost = new SfaAreaCost { AreaCostFactor = 1.0m, EffectiveFrom = new DateTime(2018, 8, 1), EffectiveTo = new DateTime(2018, 8, 31) }; NewMapper().SfaAreaCostsToEntity(sfaPostcodeAreaCost).Should().BeEquivalentTo(sfaAreaCost); }