Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void ShouldRemovePairedEnumsFromEnumMismatchWarnings()
mapper.WhenMapping
.PairEnum(PaymentTypeUk.Cheque).With(PaymentTypeUs.Check);

var plan = mapper
string plan = mapper
.GetPlanFor<PublicTwoFields<PaymentTypeUk, PaymentTypeUs>>()
.OnTo<PublicTwoFields<PaymentTypeUs, PaymentTypeUk>>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class WhenViewingDictionaryMappingPlans
[Fact]
public void ShouldShowATargetObjectMappingPlan()
{
var plan = Mapper
string plan = Mapper
.GetPlanFor<Dictionary<string, string>>()
.ToANew<CustomerViewModel>();

Expand All @@ -25,7 +25,7 @@ public void ShouldShowATargetObjectMappingPlan()
[Fact]
public void ShouldShowATargetComplexTypeCollectionMappingPlan()
{
var plan = Mapper
string plan = Mapper
.GetPlanFor<Dictionary<string, object>>()
.ToANew<Collection<Address>>();

Expand All @@ -39,7 +39,7 @@ public void ShouldShowATargetComplexTypeCollectionMappingPlan()
[Fact]
public void ShouldShowASourceObjectMappingPlan()
{
var plan = Mapper
string plan = Mapper
.GetPlanFor<MysteryCustomer>()
.ToANew<Dictionary<string, object>>();

Expand All @@ -51,7 +51,7 @@ public void ShouldShowASourceObjectMappingPlan()
[Fact]
public void ShouldShowASourceComplexTypeEnumerableMappingPlan()
{
var plan = Mapper
string plan = Mapper
.GetPlanFor<IEnumerable<CustomerViewModel>>()
.ToANew<Dictionary<string, string>>();

Expand Down
4 changes: 2 additions & 2 deletions AgileMapper.UnitTests/WhenMappingCircularReferences.cs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ public void ShouldMapNestedMultiplyRecursiveRelationships()
[Fact]
public void ShouldGenerateAMappingPlanForLinkRelationships()
{
var plan = Mapper.GetPlanFor<Video>().Over<Video>();
string plan = Mapper.GetPlanFor<Video>().Over<Video>();

plan.ShouldNotBeNull();
plan.ShouldContain("WhenMappingCircularReferences.Video -> WhenMappingCircularReferences.Video");
Expand All @@ -317,7 +317,7 @@ public void ShouldGenerateAMappingPlanForLinkRelationships()
[Fact]
public void ShouldGenerateAMappingPlanForAOneToOneRelationship()
{
var plan = Mapper
string plan = Mapper
.GetPlanFor<Parent>()
.ToANew<Parent>();

Expand Down
Loading