public ModelLocalUriId asModelLocalUriId() {
        return this.getClass().equals(ModelLocalUriId.class) ? this : new ModelLocalUriId(this.asLocalUri());
    }
@Test
    void asModelLocalUriIdWithModelLocalUriId() {
        String path = "/example/some-id/instances/some-instance-id";
        LocalUri parsed = LocalUri.parse(path);
        ModelLocalUriId retrieved = new ModelLocalUriId(parsed);
        ModelLocalUriId modelLocalUriId = retrieved.asModelLocalUriId();
        assertThat(modelLocalUriId).isEqualTo(retrieved);
        assertThat(modelLocalUriId == retrieved).isTrue();
    }