Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/BackgroundDataCreateExtensionsTest.cs =================================================================== diff -u -r3fb0df0ed6e64657154700ee7706e035d5bf99f5 -ra096cb901099c85dbaafa2dba6c69288464c248e --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/BackgroundDataCreateExtensionsTest.cs (.../BackgroundDataCreateExtensionsTest.cs) (revision 3fb0df0ed6e64657154700ee7706e035d5bf99f5) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/BackgroundDataCreateExtensionsTest.cs (.../BackgroundDataCreateExtensionsTest.cs) (revision a096cb901099c85dbaafa2dba6c69288464c248e) @@ -37,11 +37,8 @@ [Test] public void Create_BackgroundDataNull_ThrowArgumentNullException() { - // Setup - BackgroundData backgroundData = null; - // Call - TestDelegate test = () => backgroundData.Create(); + TestDelegate test = () => ((BackgroundData) null).Create(); // Assert var exception = Assert.Throws(test);