/*******************************************************************************
 * This file is part of TERMINAL RECALL
 * Copyright (c) 2012-2015 Chuck Ritola
 * Part of the jTRFP.org project
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v3.0
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/gpl.html
 * 
 * Contributors:
 *     chuck - initial API and implementation
 ******************************************************************************/

package org.jtrfp.trcl.pool;



public class PartitionedIndexPoolImplTest extends PartitionedIndexPoolTest {
    
    protected void setUp() throws Exception {
	super.setUp();
	subject = newSubject();
    }

    protected void tearDown() throws Exception {
	super.tearDown();
    }

    @Override
    protected PartitionedIndexPool<TestObject> newSubject() {
	return new PartitionedIndexPoolImpl<TestObject>();
    }

}

@@ -602,17 +602,64 @@
 l.pool;%0A
-%0A
+import org.junit.After;%0Aimport org.junit.Before;
 %0A%0Apublic
@@ -734,16 +734,28 @@
  %7B%0A    %0A
+    @Before%0A
     prot
@@ -796,24 +796,8 @@
 n %7B%0A
-%09super.setUp();%0A
 %09sub
@@ -819,24 +819,39 @@
 ct();%0A    %7D%0A
+    %0A    @After
 %0A    protect
@@ -892,27 +892,8 @@
 n %7B%0A
-%09super.tearDown();%0A
     

Refactor PartitionedIndexPoolImplTest for JUnit 4