private SAPConnection getConnection() {
   SAPConnection connection = ConnectionFactory.eINSTANCE.createSAPConnection();
   SAPBWTable dataSource = ConnectionFactory.eINSTANCE.createSAPBWTable();
   dataSource.setName("DATASOURCE");
   connection.getBWDataSources().add(dataSource);
   return connection;
 }
 @Test
 public void testRemoveBWTable() {
   SAPConnection connection = getConnection();
   SAPBWTable table = connection.getBWDataSources().get(0);
   SAPBWTableHelper.removeBWTable(connection, SAPBWTableHelper.TYPE_DATASOURCE, table);
   assertTrue(connection.getBWDataSources().isEmpty());
 }