def METHOD_NAME(self) -> None:
    with open(TestBatchEndpointYAML.BATCH_ENDPOINT_WITH_BLUE, "r") as f:
        target = yaml.safe_load(f)
    endpoint = load_batch_endpoint(TestBatchEndpointYAML.BATCH_ENDPOINT_WITH_BLUE)
    rest_batch_endpoint = endpoint._to_rest_batch_endpoint("master")
    assert rest_batch_endpoint.tags
    assert len(rest_batch_endpoint.tags)
    assert rest_batch_endpoint.tags == target["tags"]