// Path: idea/src/test/java/io/t28/json2java/idea/IdeaProjectTest.java
// public class IdeaProjectTest {
//     private JavaCodeInsightTestFixture fixture;
// 
//     @Before
//     public void setUp() throws Exception {
//         final IdeaTestFixtureFactory ideaFixtureFactory = IdeaTestFixtureFactory.getFixtureFactory();
//         final JavaTestFixtureFactory javaFixtureFactory = JavaTestFixtureFactory.getFixtureFactory();
//         final TestFixtureBuilder<IdeaProjectTestFixture> fixtureBuilder = ideaFixtureFactory.createLightFixtureBuilder();
//         fixture = javaFixtureFactory.createCodeInsightFixture(fixtureBuilder.getFixture());
//         fixture.setUp();
//     }
// 
//     @After
//     public void tearDown() throws Exception {
//         fixture.tearDown();
//     }
// 
//     @Nonnull
//     @CheckReturnValue
//     protected Application getApplication() {
//         if (fixture == null) {
//             throw new AssertionError("getApplication() must call after setUp()");
//         }
//         return ApplicationManager.getApplication();
//     }
// 
//     @Nonnull
//     @CheckReturnValue
//     protected Project getProject() {
//         if (fixture == null) {
//             throw new AssertionError("getProject() must call after setUp()");
//         }
//         return fixture.getProject();
//     }
// }


import static org.assertj.core.api.Assertions.assertThat;
import com.intellij.openapi.project.Project;
import com.intellij.psi.PsiManager;
import com.intellij.psi.PsiType;
import com.squareup.javapoet.TypeName;
import io.t28.json2java.idea.IdeaProjectTest;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters;
import javax.annotation.Nonnull;
import java.util.Arrays;
import java.util.Collection;
/*
 * Copyright (c) 2017 Tatsuya Maki
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package io.t28.json2java.idea.util;




@RunWith(Parameterized.class)
public class PsiTypeConverterTest extends IdeaProjectTest {
    @Parameters(name = "should return {1} when {0}")
    public static Collection<Object[]> fixtures() {
// Path: idea/src/test/java/io/t28/json2java/idea/IdeaProjectTest.java
// public class IdeaProjectTest {
//     private JavaCodeInsightTestFixture fixture;
// 
//     @Before
//     public void setUp() throws Exception {
//         final IdeaTestFixtureFactory ideaFixtureFactory = IdeaTestFixtureFactory.getFixtureFactory();
//         final JavaTestFixtureFactory javaFixtureFactory = JavaTestFixtureFactory.getFixtureFactory();
//         final TestFixtureBuilder<IdeaProjectTestFixture> fixtureBuilder = ideaFixtureFactory.createLightFixtureBuilder();
//         fixture = javaFixtureFactory.createCodeInsightFixture(fixtureBuilder.getFixture());
//         fixture.setUp();
//     }
// 
//     @After
//     public void tearDown() throws Exception {
//         fixture.tearDown();
//     }
// 
//     @Nonnull
//     @CheckReturnValue
//     protected Application getApplication() {
//         if (fixture == null) {
//             throw new AssertionError("getApplication() must call after setUp()");
//         }
//         return ApplicationManager.getApplication();
//     }
// 
//     @Nonnull
//     @CheckReturnValue
//     protected Project getProject() {
//         if (fixture == null) {
//             throw new AssertionError("getProject() must call after setUp()");
//         }
//         return fixture.getProject();
//     }
// }


// Path: idea/src/test/java/io/t28/json2java/idea/util/PsiTypeConverterTest.java
import static org.assertj.core.api.Assertions.assertThat;
import com.intellij.openapi.project.Project;
import com.intellij.psi.PsiManager;
import com.intellij.psi.PsiType;
import com.squareup.javapoet.TypeName;
import io.t28.json2java.idea.IdeaProjectTest;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters;
import javax.annotation.Nonnull;
import java.util.Arrays;
import java.util.Collection;

/*
 * Copyright (c) 2017 Tatsuya Maki
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package io.t28.json2java.idea.util;




@RunWith(Parameterized.class)
public class PsiTypeConverterTest extends IdeaProjectTest {
    @Parameters(name = "should return {1} when {0}")
    public static Collection<Object[]> fixtures() {
        return Arrays.asList(new Object[][]{