public void SqlTable_WhenGraphTypeIsNull_ThrowsException() { Action action = () => GraphTypeExtensions.SqlTable(null, "product", "id"); action.Should().Throw <ArgumentNullException>() .Which.ParamName.Should().Be("graphType"); }
public void GetSqlTableConfig_WhenGraphTypeIsNull_ThrowsException() { Action action = () => GraphTypeExtensions.GetSqlTableConfig(null); action.Should() .Throw <ArgumentNullException>() .Which.ParamName.Should() .Be("graphType"); }
public void IsListType_Null_ThrowsArgumentNullException() { Action action = () => GraphTypeExtensions.IsListType(null); action.Should().Throw <ArgumentNullException>(); }