package com.navercorp.pinpoint.plugin.user;

import static org.junit.Assert.*;

import org.junit.Test;

public class UserPluginTest {

    @Test
    public void test() {
        UserPlugin plugin = new UserPlugin();
        System.out.println(plugin.toClassName("org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject"));
        System.out.println(plugin.toMethodName("org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject"));
        
        
    }

}

@@ -217,35 +217,84 @@
         
-System.out.println(
+assertEquals(%22org.apache.commons.pool.impl.GenericKeyedObjectPool%22, 
 plugin.t
@@ -386,27 +386,37 @@
     
-System.out.println(
+assertEquals(%22borrowObject%22, 
 plug
@@ -509,27 +509,8 @@
     
-    %0A        %0A    %7D%0A
+%7D
 %0A%7D%0A

add testcase.