1 8 package org.picocontainer.gems.monitors; 9 10 import java.lang.reflect.Constructor ; 11 import java.lang.reflect.Method ; 12 13 import org.picocontainer.ComponentMonitor; 14 15 public class MultipleLoggerCommonsLoggingComponentMonitorTestCase extends AbstractComponentMonitorTestCase { 16 17 protected void setUp() throws Exception { 18 super.setUp(); 19 } 20 21 protected ComponentMonitor makeComponentMonitor() { 22 return new CommonsLoggingComponentMonitor(); 23 } 24 25 protected Method getMethod() throws NoSuchMethodException { 26 return String .class.getMethod("toString",new Class [0]); 27 } 28 29 protected Constructor getConstructor() { 30 return String .class.getConstructors()[0]; 31 } 32 33 protected String getLogPrefix() { 34 return "[" + String .class.getName() + "] "; 35 } 36 37 } 38 | Popular Tags |