FileDocCategorySizeDatePackage
PolicySourceModelTest.javaAPI DocExample3071Tue May 29 16:57:40 BST 2007com.sun.xml.ws.policy.sourcemodel

PolicySourceModelTest

public class PolicySourceModelTest extends TestCase
author
Marek Potociar

Fields Summary
Constructors Summary
public PolicySourceModelTest(String testName)

        super(testName);
    
Methods Summary
protected voidsetUp()

    
protected voidtearDown()

    
public voidtestCloneModel()

        PolicySourceModel model = PolicyResourceLoader.unmarshallModel("complex_policy/nested_assertions_with_alternatives.xml");
        PolicySourceModel clone = model.clone();
        
        //System.out.println("Model: \n" + model.toString());
        //System.out.println("Clone: \n" + clone.toString());
        //System.out.println("====================================================================");
        model.toString();
        clone.toString();
        assertEquals(model, clone);