Пример #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void testUpdateFlightPartnerRefsByReplaceElements()
        public virtual void testUpdateFlightPartnerRefsByReplaceElements()
        {
            hedwig.replaceWithElement(timmy);
            plucky.replaceWithElement(daisy);
            assertThat(tweety.FlightPartnerRefs).hasSize(4).containsOnly(birdo, fiffy, timmy, daisy);
        }
Пример #2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void testUpdateFlightInstructorByReplaceElement()
        public virtual void testUpdateFlightInstructorByReplaceElement()
        {
            hedwig.replaceWithElement(timmy);
            assertThat(tweety.FlightInstructor).isEqualTo(timmy);
        }