mil.dod.th.ose.shared/test/mil/dod/th/ose/shared/protoconverter/TestJaxbProtoObjectConverterImpl.java
@Test
    public void testMissionSchedule() throws ObjectConverterException
    {
        MissionProgramSchedule schedule = new MissionProgramSchedule(true, true, false, 1L, true, 2L);
        
        Message scheduleMessage = m_SUT.convertToProto(schedule);
        MissionProgramSchedule convertedSchedule = (MissionProgramSchedule)m_SUT.convertToJaxb(scheduleMessage);
        
        //Check that the converted message matches the original.
        JaxbUtil.assertEqualContent(convertedSchedule, schedule);
    }
/**
     * Test converting mission schedule data.
     * Verifies standalone mission type can be found and converted.
     */
Test converting mission schedule data.
Verifies standalone mission type can be found and converted.
Test converting mission schedule data . Verifies standalone mission type can be found and converted .
@Test
    public void testMissionSchedule() throws ObjectConverterException
    {
        MissionProgramSchedule schedule = new MissionProgramSchedule(true, true, false, 1L, true, 2L);
        Message scheduleMessage = m_SUT.convertToProto(schedule);
        MissionProgramSchedule convertedSchedule = (MissionProgramSchedule)m_SUT.convertToJaxb(scheduleMessage);
        JaxbUtil.assertEqualContent(convertedSchedule, schedule);
    }
@ Test public void testMissionSchedule ( ) throws ObjectConverterException { MissionProgramSchedule schedule = new MissionProgramSchedule ( true , true , false , 1L , true , 2L ) ; Message scheduleMessage = m_SUT . convertToProto ( schedule ) ; MissionProgramSchedule convertedSchedule = ( MissionProgramSchedule ) m_SUT . convertToJaxb ( scheduleMessage ) ; JaxbUtil . assertEqualContent ( convertedSchedule , schedule ) ; }
Test converting mission schedule data.
Test converting mission schedule data .
//Check that the converted message matches the original.