@@ -0,0 +1,2349 @@
+/*%0A * Copyright 2017, TeamDev Ltd. All rights reserved.%0A *%0A * Redistribution and use in source and/or binary forms, with or without%0A * modification, must retain the above copyright notice and the following%0A * disclaimer.%0A *%0A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS%0A * %22AS IS%22 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT%0A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR%0A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT%0A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,%0A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT%0A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,%0A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY%0A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT%0A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE%0A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.%0A */%0A%0Apackage org.spine3.type;%0A%0Aimport org.junit.Test;%0A%0Aimport java.lang.reflect.ParameterizedType;%0Aimport java.lang.reflect.Type;%0Aimport java.util.List;%0A%0Aimport static org.junit.Assert.assertArrayEquals;%0Aimport static org.junit.Assert.assertEquals;%0A%0A/**%0A * @author Illia Shepilov%0A */%0Apublic class ParametrizedTypeImplShould %7B%0A%0A    @Test%0A    public void return_raw_type() %7B%0A        final ParameterizedType type = ParametrizedTypeImpl.make(List.class,%0A                                                                 new Type%5B%5D%7BInteger.class%7D);%0A        assertEquals(List.class, type.getRawType());%0A    %7D%0A%0A    @Test%0A    public void return_owner_type() %7B%0A        final ParameterizedType type = ParametrizedTypeImpl.make(List.class,%0A                                                                 new Type%5B%5D%7BInteger.class%7D,%0A                                                                 ParametrizedTypeImpl.class);%0A        assertEquals(ParametrizedTypeImpl.class, type.getOwnerType());%0A    %7D%0A%0A    @Test%0A    public void return_type_arguments() %7B%0A        final Type%5B%5D typeArguments = %7BInteger.class%7D;%0A        final ParameterizedType type = ParametrizedTypeImpl.make(List.class,%0A                                                                 typeArguments);%0A        assertArrayEquals(typeArguments, type.getActualTypeArguments());%0A    %7D%0A%7D%0A

Create tests for the `ParametrizedTypeImpl` class.