Mocking an interface derived from IList to pass it to Should().BeEquivalentTo()
I am currently testing a method that returns an instance of the IBuilding interface defined like this: public interface IBuilding { public string Name { get; set; } public IBuildingZones Zones { get; set; } } public interface IBuildingZones: IList<IBuildingZone> { public void SortByElevation(); } public interface IBuildingZone { public string Name { get; set;… Read More Mocking an interface derived from IList to pass it to Should().BeEquivalentTo()