FileDocCategorySizeDatePackage
PolicyScopeTest.javaAPI DocExample2869Tue May 29 16:57:36 BST 2007com.sun.xml.ws.policy

PolicyScopeTest

public class PolicyScopeTest extends TestCase

Fields Summary
Constructors Summary
public PolicyScopeTest(String testName)

        super(testName);
    
Methods Summary
protected voidsetUp()

    
protected voidtearDown()

    
public voidtestConstructor()

        LinkedList<PolicySubject> subjects = null;

        PolicyScope result = new PolicyScope(subjects);
        assertNotNull(result);
        
        subjects = new LinkedList<PolicySubject>();
        subjects.add(new PolicySubject(new Object(), Policy.createEmptyPolicy()));
        
        result = new PolicyScope(subjects);
        assertNotNull(result);