public void GraphTrainPropertiesExtensionsClass_ToGraphTrainPropertiesModelMethod_ThrowsArgumentNullException_IfParameterIsNull() { GraphTrainProperties testObject = null; _ = testObject.ToGraphTrainPropertiesModel(); Assert.Fail(); }
public void GraphTrainPropertiesExtensionsClass_ToGraphTrainPropertiesModelMethod_ThrowsArgumentNullExceptionWithCorrectParamNameProperty_IfParameterIsNull() { GraphTrainProperties testObject = null; try { _ = testObject.ToGraphTrainPropertiesModel(); Assert.Fail(); } catch (ArgumentNullException ex) { Assert.AreEqual("gtp", ex.ParamName); } }