Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresCalculationActivityTest.cs =================================================================== diff -u -ra494bde768f1b989d31bff6a801a1816d6f9692e -r11e7c2e548d48f66821c2739966ba2ae6cf1dc9c --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresCalculationActivityTest.cs (.../HeightStructuresCalculationActivityTest.cs) (revision a494bde768f1b989d31bff6a801a1816d6f9692e) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresCalculationActivityTest.cs (.../HeightStructuresCalculationActivityTest.cs) (revision 11e7c2e548d48f66821c2739966ba2ae6cf1dc9c) @@ -45,7 +45,7 @@ var calculation = new StructuresCalculation(); // Call - var activity = new HeightStructuresCalculationActivity(calculation, "", failureMechanism, assessmentSection); + var activity = new HeightStructuresCalculationActivity(calculation, failureMechanism, assessmentSection); // Assert Assert.IsInstanceOf(activity); @@ -57,26 +57,6 @@ } [Test] - public void ParameteredConstructor_HlcdFilepathNull_ThrowsArgumentNullException() - { - // Setup - var mocks = new MockRepository(); - var assessmentSection = mocks.Stub(); - mocks.ReplayAll(); - - var failureMechanism = new HeightStructuresFailureMechanism(); - var calculation = new StructuresCalculation(); - - // Call - TestDelegate call = () => new HeightStructuresCalculationActivity(calculation, null, failureMechanism, assessmentSection); - - // Assert - var exception = Assert.Throws(call); - Assert.AreEqual("hydraulicBoundaryDatabaseFilePath", exception.ParamName); - mocks.VerifyAll(); - } - - [Test] public void ParameteredConstructor_FailureMechanismNull_ThrowsArgumentNullException() { // Setup @@ -87,7 +67,7 @@ var calculation = new StructuresCalculation(); // Call - TestDelegate call = () => new HeightStructuresCalculationActivity(calculation, "", null, assessmentSection); + TestDelegate call = () => new HeightStructuresCalculationActivity(calculation, null, assessmentSection); // Assert var exception = Assert.Throws(call); @@ -103,7 +83,7 @@ var calculation = new StructuresCalculation(); // Call - TestDelegate call = () => new HeightStructuresCalculationActivity(calculation, "", failureMechanism, null); + TestDelegate call = () => new HeightStructuresCalculationActivity(calculation, failureMechanism, null); // Assert var exception = Assert.Throws(call);