package org.knowm.xchange.idex;


import org.junit.Assert;
import org.junit.Test;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.ExchangeFactory;
import org.knowm.xchange.currency.CurrencyPair;
import org.knowm.xchange.dto.meta.ExchangeMetaData;

import java.util.List;

public class IdexExchangeIntegration {

    @Test
    public void shouldRunWithoutExceptionWhenCallGetMetadata() {
        Exchange exchange = ExchangeFactory.INSTANCE.createExchange(
                IdexExchange.class.getName());

        ExchangeMetaData metaData = exchange.getExchangeMetaData();
        Assert.assertNotNull(metaData);

    }

    @Test
    public void shouldRunWithoutExceptionWhenCallGetExchangeSymbols() {
        Exchange exchange = ExchangeFactory.INSTANCE.createExchange(
                IdexExchange.class.getName());

        List<CurrencyPair> marketCurrencyPairs = exchange.getExchangeSymbols();
        Assert.assertNotNull(marketCurrencyPairs);
    }

}

@@ -26,17 +26,16 @@
 .idex;%0A%0A
-%0A
 import o
@@ -316,26 +316,24 @@
 tion %7B%0A%0A
-  
   @Test%0A
     publ
@@ -316,34 +316,32 @@
 tion %7B%0A%0A  @Test%0A
-  
   public void sh
@@ -383,36 +383,32 @@
 etadata() %7B%0A    
-   
- 
 Exchange exchang
@@ -456,32 +456,24 @@
 ge(%0A        
-      
-  
 IdexExchange
@@ -488,28 +488,24 @@
 etName());%0A%0A
-    
     Exchange
@@ -552,36 +552,32 @@
 MetaData();%0A    
- 
-   
 Assert.assertNot
@@ -596,26 +596,21 @@
 a);%0A
-%0A  
   %7D%0A%0A
-  
   @Test%0A
     
@@ -605,18 +605,16 @@
   @Test%0A
-  
   public
@@ -679,20 +679,16 @@
 ) %7B%0A    
-   
- 
 Exchange
@@ -748,24 +748,16 @@
         
-      
-  
 IdexExch
@@ -780,20 +780,16 @@
 me());%0A%0A
-    
     List
@@ -860,20 +860,16 @@
 ();%0A    
- 
-   
 Assert.a
@@ -905,15 +905,12 @@
 irs);%0A  
-  %7D%0A
+%7D
 %0A%7D%0A

Update IdexExchangeIntegration.java