package nitezh.ministock.utils;

import org.junit.Test;

import java.io.IOException;

import static org.junit.Assert.assertEquals;


public class UrlDataToolsTests {
    @Test
    public void testDataRetrievalFromIex() throws IOException {
        // Arrange
        String url = "https://api.iextrading.com/1.0/stock/market/batch?symbols=aapl&types=quote";

        // Act
        String result = UrlDataTools.urlToString(url).substring(0, 33);

        // Assert
        String expected = "{\"AAPL\":{\"quote\":{\"symbol\":\"AAPL\"";
        assertEquals(expected, result);
    }
}

@@ -26,16 +26,41 @@
 utils;%0A%0A
+import org.junit.Assume;%0A
 import o
@@ -258,16 +258,98 @@
 ption %7B%0A
+        // Skipif%0A        Assume.assumeTrue(System.getenv(%22TRAVIS_CI%22) == null);%0A%0A
         

Add missing skip statement