def METHOD_NAME(self):
    """ test for message ports """
    input_port = self.test_obj['message_port']['input']
    output_port = self.test_obj['message_port']['output']
    valid_input_message_port = True
    valid_output_message_port = True
    if input_port:
        for port in input_port:
            if not port['id']:
                valid_input_message_port = False
    if output_port:
        for port in output_port:
            if not port['id']:
                valid_output_message_port = False
    self.assertTrue(valid_input_message_port)
    self.assertTrue(valid_output_message_port)