Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/MacroStabilityInwards/MacroStabilityInwardsSoilProfile1DCreateExtensionsTest.cs =================================================================== diff -u -r1ba21a629ef9ee35b003e5f5e66f26f5b8bc7766 -r0ca80ea0128c50442c9ab707f715125d65cf7fa0 --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/MacroStabilityInwards/MacroStabilityInwardsSoilProfile1DCreateExtensionsTest.cs (.../MacroStabilityInwardsSoilProfile1DCreateExtensionsTest.cs) (revision 1ba21a629ef9ee35b003e5f5e66f26f5b8bc7766) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/MacroStabilityInwards/MacroStabilityInwardsSoilProfile1DCreateExtensionsTest.cs (.../MacroStabilityInwardsSoilProfile1DCreateExtensionsTest.cs) (revision 0ca80ea0128c50442c9ab707f715125d65cf7fa0) @@ -38,7 +38,8 @@ public void Create_PersistenceRegistryNull_ThrowsArgumentNullException() { // Setup - var soilProfile = new TestMacroStabilityInwardsSoilProfile1D(); + MacroStabilityInwardsSoilProfile1D soilProfile = + MacroStabilityInwardsSoilProfile1DTestFactory.CreateMacroStabilityInwardsSoilProfile1D(); // Call TestDelegate test = () => soilProfile.Create(null); @@ -114,7 +115,8 @@ { // Setup const string name = "some name"; - var soilProfile = new TestMacroStabilityInwardsSoilProfile1D(name); + MacroStabilityInwardsSoilProfile1D soilProfile = + MacroStabilityInwardsSoilProfile1DTestFactory.CreateMacroStabilityInwardsSoilProfile1D(name); var registry = new PersistenceRegistry(); // Call @@ -128,7 +130,8 @@ public void GivenCreatedEntity_WhenCreateCalledOnSameObject_ThenSameEntityReturned() { // Given - var soilProfile = new TestMacroStabilityInwardsSoilProfile1D(); + MacroStabilityInwardsSoilProfile1D soilProfile = + MacroStabilityInwardsSoilProfile1DTestFactory.CreateMacroStabilityInwardsSoilProfile1D(); var registry = new PersistenceRegistry(); MacroStabilityInwardsSoilProfileOneDEntity firstEntity = soilProfile.Create(registry);