package de.espend.idea.php.toolbox.tests.utils;

import com.intellij.openapi.util.Condition;
import com.intellij.openapi.util.io.StreamUtil;
import com.intellij.util.containers.ContainerUtil;
import de.espend.idea.php.toolbox.dict.json.*;
import de.espend.idea.php.toolbox.tests.SymfonyLightCodeInsightFixtureTestCase;
import de.espend.idea.php.toolbox.utils.JsonParseUtil;
import org.jetbrains.annotations.NotNull;
import org.junit.Assert;
import org.junit.Test;

import javax.swing.*;
import java.io.File;
import java.io.IOException;
import java.nio.charset.Charset;
import java.util.*;

/**
 * @author Daniel Espendiller <daniel@espendiller.net>
 */
public class JsonParseUtilLightTest extends SymfonyLightCodeInsightFixtureTestCase {

    /**
     * @see JsonParseUtil#getLookupIconOnString
     */
    public void testGetProviderJsonFromFile() {
        assertNotNull(JsonParseUtil.getLookupIconOnString("com.intellij.icons.AllIcons$Actions.Back"));
        assertNotNull(JsonParseUtil.getLookupIconOnString("com.intellij.icons.AllIcons.Actions.Back"));
    }

}

@@ -53,539 +53,134 @@
 ort 
-com.intellij.openapi.util.Condition;%0Aimport com.intellij.openapi.util.io.StreamUtil;%0Aimport com.intellij.util.containers.ContainerUtil;%0Aimport de.espend.idea.php.toolbox.dict.json.*;%0Aimport de.espend.idea.php.toolbox.tests.SymfonyLightCodeInsightFixtureTestCase;%0Aimport de.espend.idea.php.toolbox.utils.JsonParseUtil;%0Aimport org.jetbrains.annotations.NotNull;%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Aimport javax.swing.*;%0Aimport java.io.File;%0Aimport java.io.IOException;%0Aimport java.nio.charset.Charset;%0Aimport java.util.*
+de.espend.idea.php.toolbox.tests.SymfonyLightCodeInsightFixtureTestCase;%0Aimport de.espend.idea.php.toolbox.utils.JsonParseUtil
 ;%0A%0A/

Remove unused imports