def METHOD_NAME(self, mock_machinelearning_client: MLClient):
    test_path = "./tests/test_configs/components/data_transfer/import_file_to_blob.yaml"
    component_entity = load_component_entity_from_yaml(
        test_path, mock_machinelearning_client, _type="data_transfer"
    )
    assert isinstance(component_entity, DataTransferImportComponent)
    data_transfer_copy_component = DataTransferImportComponent(
        name="datatransfer_s3_blob",
        display_name="Data Transfer s3-blob",
        source={"type": "file_system"},
        outputs={"sink": {"type": "uri_folder"}},
        base_path="./tests/test_configs/components/data_transfer",
    )
    omit_fields = ["name", "id", "$schema"]
    yaml_dict = pydash.omit(dict(component_entity._to_dict()), *omit_fields)
    sdk_dict = pydash.omit(dict(data_transfer_copy_component._to_dict()), *omit_fields)
    assert sdk_dict == yaml_dict