1 7 package com.inversoft.verge.util.url.config.test; 8 9 10 import com.inversoft.junit.WebTestCase; 11 import com.inversoft.verge.util.url.config.URLConfigFactory; 12 13 14 23 public class URLConfigFactoryTest extends WebTestCase { 24 25 30 public URLConfigFactoryTest(String name) { 31 super(name); 32 setLocal(true); 33 } 34 35 36 public void testAll() { 37 URLConfigFactory factory = new URLConfigFactory(); 38 assertEquals("Should always return same builder", factory.createBuilder(), 39 factory.createBuilder()); 40 assertTrue("Should not always return same registry", 41 factory.createRegistry() != factory.createRegistry()); 42 } 43 } 44 | Popular Tags |