@Override
    public boolean exists(
        EntityDescriptionReadId identifier, ResolvedReadContext resolvedReadContext) {
      ScopedEntityName entityId = identifier.getEntityName();
      NameOrURI codeSystemVersion = identifier.getCodeSystemVersion();

      return ((entityId != null && StringUtils.equals(entityId.getName(), "test"))
              || StringUtils.equals(identifier.getUri(), "test.uri"))
          && codeSystemVersion.getName().equals("test.version")
          && resolvedReadContext != null;
    }
    @Override
    public EntityDescription read(
        EntityDescriptionReadId identifier, ResolvedReadContext resolvedReadContext) {
      ScopedEntityName name = new ScopedEntityName();
      name.setNamespace("test");
      EntityDescriptionBase entityDescription = createEntityDescription();

      if (identifier.getEntityName().getName().equals("test")
          && identifier.getCodeSystemVersion().getName().equals("test.version")
          && resolvedReadContext != null) {
        name.setName("success");
      } else {
        name.setName("fail");
      }
      entityDescription.setEntityID(name);

      return ModelUtils.toEntityDescription(entityDescription);
    }