#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
/*
 * ${service_titlecase}Test.java
 */

package ${package}.${service_lowercase};

import com.rhythm.louie.connection.Identity;
import com.rhythm.louie.connection.LouieConnection;
import com.rhythm.louie.connection.LouieConnectionFactory;
import com.rhythm.pb.RequestProtos.IdentityPB;

import ${package}.${service_lowercase}.${service_titlecase}Protos.*;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;

public class ${service_titlecase}Test {
    
    private static ${service_titlecase}Client client;

    public ${service_titlecase}Test() {
    }
    
    @BeforeClass
    public static void setUpClass() {
        IdentityPB id = Identity.createJUnitIdentity();
        LouieConnection connection = LouieConnectionFactory.getConnection("localhost", id);
        connection.setGateway("${rootArtifactId}");

        client = ${service_titlecase}ClientFactory.getClient(connection);
    }
    
    @AfterClass
    public static void tearDownClass() {
    }
    
    @Before
    public void setUp() {
    }
    
    @After
    public void tearDown() {
    }

    @Test
    public void basicTest() throws Exception {
        String example = "Hello World!";
        ${service_titlecase}ResponsePB response = client.basicRequest(example);
        System.out.println(response);
        assertNotNull(response);
    }
    
}

@@ -440,116 +440,8 @@
 *;%0A%0A
-import org.junit.After;%0Aimport org.junit.AfterClass;%0Aimport org.junit.Before;%0Aimport org.junit.BeforeClass;%0A
 impo
@@ -551,22 +551,21 @@
 private 
-static
+final
  $%7Bservi
@@ -637,74 +637,8 @@
 ) %7B%0A
-    %7D%0A    %0A    @BeforeClass%0A    public static void setUpClass() %7B%0A
     
@@ -923,172 +923,8 @@
    %0A
-    @AfterClass%0A    public static void tearDownClass() %7B%0A    %7D%0A    %0A    @Before%0A    public void setUp() %7B%0A    %7D%0A    %0A    @After%0A    public void tearDown() %7B%0A    %7D%0A%0A
     

restructure test class to be more concise