@Test
public void testCreate() throws Exception {

    NamingContext namingContext = new MyNamingContext(null, null);
    NamingContextListener namingContextListener = new MyNamingContextListener(namingContext);
    StandardContext standardContext = new StandardContext();
    standardContext.setNamingContextListener(namingContextListener);
    TomcatResourceFactory.create(name, standardContext);
}