Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/AssessmentSectionViewTest.cs =================================================================== diff -u -r11f0867b39150ae5fac83dc178a89fee46d27611 -rc09cca89155759682fcb5f11e1c4bf35051795b0 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/AssessmentSectionViewTest.cs (.../AssessmentSectionViewTest.cs) (revision 11f0867b39150ae5fac83dc178a89fee46d27611) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/AssessmentSectionViewTest.cs (.../AssessmentSectionViewTest.cs) (revision c09cca89155759682fcb5f11e1c4bf35051795b0) @@ -109,10 +109,11 @@ public void Data_SetToNull_MapDataCleared() { // Setup - using (var view = new AssessmentSectionView()) + using (var view = new AssessmentSectionView { - view.Data = new TestAssessmentSection(); - + Data = new TestAssessmentSection() + }) + { // Precondition Assert.AreEqual(2, view.Map.Data.Collection.Count());