Index: src/Deltares.DSoilModel.Forms.Tests/BoringLookup2DControlTest.cs =================================================================== diff -u -r331 -r350 --- src/Deltares.DSoilModel.Forms.Tests/BoringLookup2DControlTest.cs (.../BoringLookup2DControlTest.cs) (revision 331) +++ src/Deltares.DSoilModel.Forms.Tests/BoringLookup2DControlTest.cs (.../BoringLookup2DControlTest.cs) (revision 350) @@ -39,7 +39,7 @@ PropertyControl.SelectedObject = lookup; Assert.AreSame(lookup, PropertyControl.SelectedObject); - var subcontrol = GetPrivateField(PropertyControl, "BoringControl") as BoringControl; + var subcontrol = GetPrivateField(PropertyControl, "BoringControl"); Assert.NotNull(subcontrol); Assert.AreSame(lookup.Boring, subcontrol.SelectedObject); }