public ODataEntity getInfo(final int id, final String info) {
    final ODataEntity entity =
        ODataObjectFactory.newEntity(
            "Microsoft.Test.OData.Services.AstoriaDefaultService.CustomerInfo");
    entity.setMediaEntity(true);

    entity.addProperty(
        ODataObjectFactory.newPrimitiveProperty(
            "Information",
            client.getPrimitiveValueBuilder().setText(info).setType(EdmSimpleType.String).build()));
    return entity;
  }