Index: src/Deltares.DSoilModel.Data.Tests/CenterCrestLocationTest.cs =================================================================== diff -u --- src/Deltares.DSoilModel.Data.Tests/CenterCrestLocationTest.cs (revision 0) +++ src/Deltares.DSoilModel.Data.Tests/CenterCrestLocationTest.cs (revision 303) @@ -0,0 +1,30 @@ +using Deltares.Geotechnics; +using Deltares.Standard.Language; +using Deltares.Standard.TestUtils; +using NUnit.Framework; + +namespace Deltares.DSoilModel.Data.Tests +{ + [TestFixture] + public class CenterCrestLocationTest + { + [Test] + public void TestPropertyEvents() + { + // discuss with John, do we add missing data events, or just ignore them ? + new PropertyEventsTester().TestPropertyEvents(x => x.SoilProfile2D); + + // ignored properties need to be tested separately + var location = new CenterCrestLocation(); + var profile = new SoilProfile2D(); + location.SoilProfile2D = profile; + Assert.AreSame(profile, location.SoilProfile2D); + } + + [Test] + public void TestToString() + { + Assert.AreEqual(new CenterCrestLocation().ToString(), LocalizationManager.GetTranslatedText(typeof(CenterCrestLocation), "CenterCrestLocation").ToLower()); + } + } +} Index: src/Deltares.DSoilModel.Data/CenterCrestLocation.cs =================================================================== diff -u -r6 -r303 --- src/Deltares.DSoilModel.Data/CenterCrestLocation.cs (.../CenterCrestLocation.cs) (revision 6) +++ src/Deltares.DSoilModel.Data/CenterCrestLocation.cs (.../CenterCrestLocation.cs) (revision 303) @@ -1,10 +1,5 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Linq; -using System.Text; +using System.ComponentModel; using Deltares.Geotechnics; -using Deltares.Standard; using Deltares.Standard.Attributes; using Deltares.Standard.EventPublisher; using Deltares.Standard.Language; Index: src/Deltares.DSoilModel.Data.Tests/Deltares.DSoilModel.Data.Tests.csproj =================================================================== diff -u -r296 -r303 --- src/Deltares.DSoilModel.Data.Tests/Deltares.DSoilModel.Data.Tests.csproj (.../Deltares.DSoilModel.Data.Tests.csproj) (revision 296) +++ src/Deltares.DSoilModel.Data.Tests/Deltares.DSoilModel.Data.Tests.csproj (.../Deltares.DSoilModel.Data.Tests.csproj) (revision 303) @@ -82,6 +82,7 @@ +