def METHOD_NAME(self, mock_workspace_scope: OperationScope) -> None:
    schema = DummySchema()
    name = "resourceName"
    resource_id_without_version = (
        RESOURCE_ID_FORMAT.format(
            mock_workspace_scope.subscription_id,
            mock_workspace_scope.resource_group_name,
            AZUREML_RESOURCE_PROVIDER,
            mock_workspace_scope.workspace_name,
        )
        + f"/foo/{name}"
    )
    input_data = {"environment": f"azureml:{resource_id_without_version}"}
    output_data = {"environment": resource_id_without_version}
    dumped_data = {"environment": f"azureml:{resource_id_without_version}"}
    data = schema.load(input_data)
    assert data == output_data
    assert schema.dump(data) == dumped_data