assertEquals(Collections.EMPTY_LIST, ((ArrayLiteral) arrayLit).getValueList());
}
@Test
public void detectsInnerObjLiteralValuesInObjectLiteral() throws InvalidLiteralNode {
ObjectLiteral lit = getLiteralNode("{ key: { num: 1, str: 'str', b: true }}");
assertEquals(Arrays.asList("key"), lit.getKeys());
Object innerObjLit = lit.getValue("key");
assertTrue(innerObjLit instanceof ObjectLiteral);
assertValues((ObjectLiteral) innerObjLit, getPrepopulatedMap("num", 1.0, "str", "str", "b", true));
}