@Test public void testRemoveBWTable() { SAPConnection connection = getConnection(); SAPBWTable table = connection.getBWDataSources().get(0); SAPBWTableHelper.removeBWTable(connection, SAPBWTableHelper.TYPE_DATASOURCE, table); assertTrue(connection.getBWDataSources().isEmpty()); }
@Test public void testGetBWTableList() { List<SAPBWTable> list = SAPBWTableHelper.getBWTableList(getConnection(), SAPBWTableHelper.TYPE_DATASOURCE); assertNotNull(list); SAPBWTable table = list.get(0); assertEquals("DATASOURCE", table.getName()); }