public void Check_ValidColumnTypes_ShouldReturnTrue(string query) { var middleware = new HasValidColumnTypes(); var actual = middleware.Check(query); Assert.True(actual); }
public void Check_InvalidColumnTypes_ShouldThrowUnsupportedTypeException(string query) { var middleware = new HasValidColumnTypes(); Assert.Throws <UnsupportedTypeException>(() => middleware.Check(query)); }