Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/ClosingStructuresPluginTest.cs =================================================================== diff -u -r0764f95727a4586e2b566d1e66c989a6327f3e2b -re570ba372fafe1802a4caae2ef9410b64457198b --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/ClosingStructuresPluginTest.cs (.../ClosingStructuresPluginTest.cs) (revision 0764f95727a4586e2b566d1e66c989a6327f3e2b) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/ClosingStructuresPluginTest.cs (.../ClosingStructuresPluginTest.cs) (revision e570ba372fafe1802a4caae2ef9410b64457198b) @@ -66,23 +66,23 @@ // assert Assert.AreEqual(2, propertyInfos.Length); - PropertyInfo closingStructureProperties = PluginTestHelper.AssertPropertyInfoDefined( + PropertyInfo closingStructurePropertyInfo = PluginTestHelper.AssertPropertyInfoDefined( propertyInfos, typeof(ClosingStructure), typeof(ClosingStructureProperties)); - Assert.IsNull(closingStructureProperties.AdditionalDataCheck); - Assert.IsNull(closingStructureProperties.GetObjectPropertiesData); - Assert.IsNull(closingStructureProperties.AfterCreate); + Assert.IsNull(closingStructurePropertyInfo.AdditionalDataCheck); + Assert.IsNull(closingStructurePropertyInfo.GetObjectPropertiesData); + Assert.IsNull(closingStructurePropertyInfo.AfterCreate); var failureMechanism = new ClosingStructuresFailureMechanism(); var failureMechanismContext = new ClosingStructuresFailureMechanismContext(failureMechanism, assessmentSection); - PropertyInfo closingStructureFailureMechanismProperties = PluginTestHelper.AssertPropertyInfoDefined( + PropertyInfo closingStructuresFailureMechanismContextPropertyInfo = PluginTestHelper.AssertPropertyInfoDefined( propertyInfos, typeof(ClosingStructuresFailureMechanismContext), typeof(ClosingStructureFailureMechanismProperties)); - Assert.AreSame(failureMechanism, closingStructureFailureMechanismProperties.GetObjectPropertiesData(failureMechanismContext)); - Assert.IsNull(closingStructureFailureMechanismProperties.AdditionalDataCheck); - Assert.IsNull(closingStructureFailureMechanismProperties.AfterCreate); + Assert.AreSame(failureMechanism, closingStructuresFailureMechanismContextPropertyInfo.GetObjectPropertiesData(failureMechanismContext)); + Assert.IsNull(closingStructuresFailureMechanismContextPropertyInfo.AdditionalDataCheck); + Assert.IsNull(closingStructuresFailureMechanismContextPropertyInfo.AfterCreate); } mocks.VerifyAll(); }