def METHOD_NAME(self):
    @dsl.container_component
    def hello_world_io(
        text: str,
        text_output_path: dsl.OutputPath(str)) -> dsl.ContainerSpec:
        """Hello world component with input and output."""
        return dsl.ContainerSpec(
            image='python:3.7',
            command=['echo'],
            args=['--text', text, '--output_path', text_output_path])
    self.assertIsInstance(hello_world_io,
                          container_component_class.ContainerComponent)