@@ -0,0 +1,2423 @@
+/*%0A * Licensed to the Apache Software Foundation (ASF) under one or more%0A * contributor license agreements.  See the NOTICE file distributed with%0A * this work for additional information regarding copyright ownership.%0A * The ASF licenses this file to You under the Apache License, Version 2.0%0A * (the %22License%22); you may not use this file except in compliance with%0A * the License.  You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage org.apache.commons.pool2.impl;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Aimport org.apache.commons.pool2.BasePooledObjectFactory;%0Aimport org.apache.commons.pool2.PooledObject;%0Aimport org.junit.Test;%0A%0Apublic class TestPoolImplUtils %7B%0A%0A    @Test%0A    public void testFactoryTypeSimple() %7B%0A        Class%3C?%3E result = PoolImplUtils.getFactoryType(SimpleFactory.class);%0A        assertEquals(String.class, result);%0A    %7D%0A%0A    @Test%0A    public void testFactoryTypeNotSimple() %7B%0A        Class%3C?%3E result = PoolImplUtils.getFactoryType(NotSimpleFactory.class);%0A        assertEquals(Long.class, result);%0A    %7D%0A%0A    private static class SimpleFactory extends BasePooledObjectFactory%3CString%3E %7B%0A        @Override%0A        public String create() throws Exception %7B%0A            return null;%0A        %7D%0A        @Override%0A        public PooledObject%3CString%3E wrap(String obj) %7B%0A            return null;%0A        %7D%0A    %7D%0A%0A    private abstract static class FactoryAB%3CA,B%3E%0A            extends BasePooledObjectFactory%3CB%3E %7B%0A    %7D%0A%0A    private abstract static class FactoryBA%3CA,B%3E extends FactoryAB%3CB,A%3E %7B%0A    %7D%0A%0A    private abstract static class FactoryC%3CC%3E extends FactoryBA%3CC, String%3E %7B%0A    %7D%0A%0A    private abstract static class FactoryDE%3CD,E%3E extends FactoryC%3CD%3E%7B%0A    %7D%0A%0A    private abstract static class FactoryF%3CF%3E extends FactoryDE%3CLong,F%3E%7B%0A    %7D%0A%0A    private static class NotSimpleFactory extends FactoryF%3CInteger%3E %7B%0A        @Override%0A        public Long create() throws Exception %7B%0A            return null;%0A        %7D%0A        @Override%0A        public PooledObject%3CLong%3E wrap(Long obj) %7B%0A            return null;%0A        %7D%0A    %7D%0A%7D%0A

Fill a gap in the tests highlighted by the code coverage report.