### Question:
JavascriptObject { protected final String getNextVariableName() { return getClass().getSimpleName() + (objectCounter++); } protected  JavascriptObject(); protected  JavascriptObject(String type); protected  JavascriptObject( String type, String stringRepresentation ); protected  JavascriptObject(String type, Object... args); protected  JavascriptObject(String type, Object[] ary, boolean isArray); protected  JavascriptObject(String type, JSObject jsObject); JSObject getJSObject(); String getVariableName();  }### Answer:
@Test public void testGetNextVariableName() { JavascriptObject.objectCounter = 1; assertEquals( "JavascriptObject1", testJavascriptObject.getNextVariableName() ); }