public void ShouldMapZeroToANonEntityNullableMemberIdMember() { var source = new CategoryDto { Name = "Root Category Dto", ParentId = 0 }; var result = source.DeepClone(); result.ParentId.ShouldBe(0); }
public void ShouldMapZeroToANonEntityNullableMemberIdMember() { var source = new CategoryDto { Name = "Root Category Dto", ParentId = 0 }; var result = source.DeepClone(); result.ParentId.ShouldBe(0); }