def METHOD_NAME(self):
    """Test generate dockerfile."""
    # prepare
    test_data_dir = os.path.join(os.path.dirname(__file__), 'testdata')
    target_dockerfile = os.path.join(test_data_dir,
                                     'component.temp.dockerfile')
    golden_dockerfile_payload_one = '''\