예제 #1
0
        public virtual ChildElementAssert assertThatChildElement(ModelElementType childElementType)
        {
            ModelElementTypeImpl modelElementTypeImpl = (ModelElementTypeImpl)modelElementType;

            return(assertThat(modelElementTypeImpl.getChildElementCollection(childElementType)));
        }
예제 #2
0
 public EnumAttribute(ModelElementType owningElementType, Type type)
 {
     type = typeof(T);
     base(owningElementType);
     this.type = type;
 }
예제 #3
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void testGetType()
        public virtual void testGetType()
        {
            ModelElementType flyingAnimalType = model.getType(typeof(FlyingAnimal));

            assertThat(flyingAnimalType.InstanceType).isEqualTo(typeof(FlyingAnimal));
        }