Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/ProjectEntityReadExtensionsTest.cs =================================================================== diff -u -re2e6d944af7b0cea6c9c34e77bd0644149526c37 -r1d86c8daf73d71b72c7a105b5f564ae7480a8d7f --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/ProjectEntityReadExtensionsTest.cs (.../ProjectEntityReadExtensionsTest.cs) (revision e2e6d944af7b0cea6c9c34e77bd0644149526c37) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/ProjectEntityReadExtensionsTest.cs (.../ProjectEntityReadExtensionsTest.cs) (revision 1d86c8daf73d71b72c7a105b5f564ae7480a8d7f) @@ -20,6 +20,7 @@ // All rights reserved. using System; +using System.Linq; using Application.Ringtoets.Storage.DbContext; using Application.Ringtoets.Storage.Read; using NUnit.Framework; @@ -76,11 +77,15 @@ { new AssessmentSectionEntity { - Norm = norm + Norm = norm, + Name = "A", + Order = 56 }, new AssessmentSectionEntity { - Norm = norm + Norm = norm, + Name = "B", + Order = 0 } } }; @@ -90,6 +95,10 @@ // Assert Assert.AreEqual(2, project.AssessmentSections.Count); + CollectionAssert.AreEqual(new[] + { + "B", "A" + }, project.AssessmentSections.Select(a => a.Name)); } } } \ No newline at end of file