DebugContext debugContext = listener.getDebugContext();
String propertyRefText = "{'ref':" + FixtureChromeStub.getNumber3Ref() +
",'type':'number','value':3,'text':'3'}";
InternalContext internalContext = ContextBuilder.getInternalContextForTests(debugContext);
String valueHandleJsonText = (
"{'protoObject':{'ref':55516,'className':'Array','type':'object'}," +
"'text':'#<an Array>'," +
"'handle':5559,'" +
"constructorFunction':{'ref':55515,'inferredName':''," +
"'name':'Array','type':'function'}," +
"'prototypeObject':{'ref':5553,'type':'undefined'}," +
"'className':'Array','properties':[{'name':'length'," +
"'value':{'ref':55517,'value':2,'type':'number'}}," +
"{'name':1,'value':" + propertyRefText + "}," +
"{'name':3,'value':"+ propertyRefText +"}],'type':'object'}"
).replace('\'', '"');
JSONObject valueHandleJson = (JSONObject) JSONValue.parse(valueHandleJsonText);
ValueHandle valueHandle =
V8ProtocolParserAccess.get().parseValueHandle(valueHandleJson);
arrayMirror = internalContext.getValueLoader().addDataToMap(valueHandle);
String proptoHandleJsonText = (
"{'text':'#<an Object>', 'handle':55516,'className':'Object','type':'object'}"
).replace('\'', '"');
JSONObject protoHandleJson = (JSONObject) JSONValue.parse(proptoHandleJsonText);
ValueHandle protoHandle = V8ProtocolParserAccess.get().parseValueHandle(protoHandleJson);
internalContext.getValueLoader().addDataToMap(protoHandle);
FrameObject frameObject;
{