コード例 #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void testGetChildElements()
        public virtual void testGetChildElements()
        {
            assertThat(flightInstructorChild).hasSize(tweety, 1);
            assertThat(flightPartnerRefCollection).hasSize(tweety, 2);

            FlightInstructor flightInstructor = flightInstructorChild.getChild(tweety);

            assertThat(flightInstructor.TextContent).isEqualTo(daffy.Id);

            foreach (FlightPartnerRef flightPartnerRef in flightPartnerRefCollection.get(tweety))
            {
                assertThat(flightPartnerRef.TextContent).isIn(daisy.Id, plucky.Id);
            }
        }
コード例 #2
0
 public virtual FormalExpression getTransformation()
 {
     return(transformationChild.getChild(this));
 }