Skip to content

Commit

Permalink
Added missing properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-E-angelo committed Jun 22, 2020
1 parent 252f4ab commit 3d0c314
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using FluentAssertions;
using System.Collections.Generic;
using Xunit;
// ReSharper disable UnusedAutoPropertyAccessor.Local

namespace ExtendedXmlSerializer.Tests.ReportedIssues
{
Expand All @@ -18,8 +19,8 @@ public void Verify()
{
Models = new List<PathogenDto>
{
new Pathogen{ PathogenType = type },
new Pathogen{ PathogenType = type }
new Pathogen{ ScientificName = "Phellinus igniarius", LocalizedName = "Phellinus igniarius", PathogenType = type },
new Pathogen{ ScientificName = "Pholiota destruens", LocalizedName = "Pholiota destruens", PathogenType = type }
}
},
new LookupTable<PathogenTypeDto>
Expand Down Expand Up @@ -47,6 +48,10 @@ sealed class LookupTable<T>

class PathogenDto
{
public string ScientificName { get; set; }
public string LocalizedName { get; set; }

// ReSharper disable once MemberHidesStaticFromOuterClass
public PathogenTypeDto PathogenType { get; set; }
}

Expand Down

0 comments on commit 3d0c314

Please sign in to comment.