@Override
  public Optional<Object> getCustomContextData(String key)
  {
    if (_customRequestContext != null && key != null && !key.isEmpty() && _customRequestContext.containsKey(key))
    {
      return Optional.of(_customRequestContext.get(key));
    }
    return Optional.empty();
  }
@Test
  public void testGetEmptyCustomContextData() throws RestLiSyntaxException
  {
    final ResourceContextImpl context = new ResourceContextImpl();
    Optional<Object> foo = context.getCustomContextData("foo");
    Assert.assertFalse(foo.isPresent());
  }