FileDocCategorySizeDatePackage
RegistrantIdentifierTest.javaAPI DocExample2965Tue May 29 16:57:44 BST 2007com.sun.xml.ws.tx.common

RegistrantIdentifierTest

public class RegistrantIdentifierTest extends TestCase
author
Ryan.Shoemaker@Sun.COM

Fields Summary
private String
idValue
private RegistrantIdentifier
id
Constructors Summary
public RegistrantIdentifierTest(String name)
Creates a new instance of RegistrantIdentifierTest

        super(name);
    
Methods Summary
public voidtestName()

        assertEquals(new QName(Constants.WSCOOR_SUN_URI, RegistrantIdentifier.REGISTRANT_ID), 
                     id.getName());
    
public voidtestSetValue()

        id.setValue("808");
        assertEquals("808", id.getValue());
        id.setValue(idValue);
    
public voidtestValue()

    
         
        assertEquals(idValue, id.getValue());