assertEquals(1000L, (long) v.get("max_open_file_descriptors"));
}
@Test
public void testNestedBytesRefExpressionsString() throws Exception {
ReferenceIdent ident = new ReferenceIdent(SysNodesTableInfo.IDENT, "version");
SysObjectReference version = (SysObjectReference) resolver.getImplementation(ident);
ident = new ReferenceIdent(SysNodesTableInfo.IDENT, "version", Arrays.asList("number"));
SysNodeExpression<BytesRef> versionNumber = (SysNodeExpression<BytesRef>)resolver.getImplementation(ident);
assertThat(version.value().get(NodeVersionExpression.NUMBER), instanceOf(String.class));
assertThat(versionNumber.value(), is(new BytesRef(version.value().get(NodeVersionExpression.NUMBER).toString())));