in SampleTests/TestFiltering.cs [110:120]
private void AssertAllObjectsHaveSchemaName(TSqlModel model, string schema)
{
// Looks for any named object that doesn't have the specified schema name
foreach (TSqlObject tsqlObject in GetTablesViewsAndSchemas(model))
{
if (tsqlObject.Name.HasName && tsqlObject.Name.Parts.Count > 0)
{
Assert.AreEqual(schema, tsqlObject.Name.Parts[0], "Expected all objects to have schema {0} after filter", schema);
}
}
}