Package org.jboss.test.xb.builder.object.mc.support.model

Examples of org.jboss.test.xb.builder.object.mc.support.model.AbstractDemandMetaData


   {
      AbstractBeanMetaData bean = unmarshalBean();
      Set<?> demands = bean.getDemands();
      assertNotNull(demands);
      assertEquals(1, demands.size());
      AbstractDemandMetaData demand = (AbstractDemandMetaData) demands.iterator().next();
      assertNotNull(demand);
      return demand;
   }
View Full Code Here


      return demand;
   }
  
   public void testDemand() throws Exception
   {
      AbstractDemandMetaData demand = getDemand();
      assertEquals("Demand", demand.getDemand());
      assertEquals(ControllerState.DESCRIBED, demand.getWhenRequired());
   }
View Full Code Here

      assertEquals(ControllerState.DESCRIBED, demand.getWhenRequired());
   }
  
   public void testDemandWithWhenRequired() throws Exception
   {
      AbstractDemandMetaData demand = getDemand();
      assertEquals("Demand", demand.getDemand());
      assertEquals(ControllerState.CONFIGURED, demand.getWhenRequired());
   }
View Full Code Here

TOP

Related Classes of org.jboss.test.xb.builder.object.mc.support.model.AbstractDemandMetaData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.