public virtual ChildElementAssert assertThatChildElement(ModelElementType childElementType) { ModelElementTypeImpl modelElementTypeImpl = (ModelElementTypeImpl)modelElementType; return(assertThat(modelElementTypeImpl.getChildElementCollection(childElementType))); }
public EnumAttribute(ModelElementType owningElementType, Type type) { type = typeof(T); base(owningElementType); this.type = type; }
//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)); }