public void EffectivePreprocessorDirectory_HydraulicBoundaryDatabaseNull_ThrowsArgumentNullException() { // Call TestDelegate test = () => HydraulicBoundaryDatabaseExtensions.EffectivePreprocessorDirectory(null); // Assert string paramName = Assert.Throws <ArgumentNullException>(test).ParamName; Assert.AreEqual("hydraulicBoundaryDatabase", paramName); }
public void IsLinked_HydraulicBoundaryDatabaseNull_ThrowsArgumentNullException() { // Call TestDelegate test = () => HydraulicBoundaryDatabaseExtensions.IsLinked(null); // Assert string paramName = Assert.Throws <ArgumentNullException>(test).ParamName; Assert.AreEqual("hydraulicBoundaryDatabase", paramName); }