package com.siyeh.ig.style; import com.intellij.codeInspection.InspectionProfileEntry; import com.siyeh.ig.LightInspectionTestCase; import org.jetbrains.annotations.Nullable; public class UnnecessaryCallToStringValueOfInspectionTest extends LightInspectionTestCase { public void testUnnecessaryCallToStringValueOf() throws Exception { doTest(); } @Nullable @Override protected InspectionProfileEntry getInspection() { return new UnnecessaryCallToStringValueOfInspection(); } @Override protected String getBasePath() { return "/plugins/InspectionGadgets/test/com/siyeh/igtest/style/unnecessary_valueof"; } @Override protected String[] getEnvironmentClasses() { return new String[]{ "package org.slf4j; public interface Logger { void info(String format, Object... arguments); }", "package org.slf4j; public class LoggerFactory { public static Logger getLogger(Class clazz) { return null; }}"}; } }