FileDocCategorySizeDatePackage
DottedNameFactoryTest.javaAPI DocGlassfish v2 API3042Fri May 04 22:24:16 BST 2007com.sun.enterprise.admin.dottedname

DottedNameFactoryTest

public final class DottedNameFactoryTest extends TestCase

Fields Summary
DottedNameFactory.Factory
mFactory
Constructors Summary
Methods Summary
public voidsetUp()

		mFactory	= DottedNameFactory.newInstance();
	
public voidtestAdd()

		final DottedName	dn	= new DottedName( "server" );
		
		mFactory.add( dn );
		
		assert( dn == mFactory.get( dn.toString() ) );
	
public voidtestGet()

		assertEquals( new DottedName( "domain" ), mFactory.get( "domain" ) );