public static ISsisCatalog GetCatalog(this ISsisApplication application, string connectionStringOrName) { //var connection = application.Configuration.ConnectionProvider(connectionStringOrName); //return application.GetCatalog(connection); throw new NotImplementedException(); }
public void WhenGettingCatalogByConnectionStringOrName(string connectionStringOrName, ISsisApplication application, ISsisCatalog catalog) { "Given an ISsisApplication instance" ._(() => application = new SsisApplication()); "When getting catalog by connection string or name" ._(() => catalog = application.GetCatalog(connectionStringOrName)); "Then the catalog should not be null" ._(() => catalog.Should().NotBeNull()); }