private void AssertBuild <T>(object defaultValue) { IColumn column = ColumnFactory.BuildTyped <T>((T)defaultValue); Assert.NotNull(column); Assert.True(column is IColumn <T>); if (defaultValue != null) { column = ColumnFactory.Build(typeof(T), null); Assert.NotNull(column); Assert.True(column is IColumn <T>); column = ColumnFactory.Build(typeof(T)); Assert.NotNull(column); Assert.True(column is IColumn <T>); } }