### Question:
JavascriptObject { protected void setProperty(String propertyName, Object propertyValue) { jsObject.setMember(propertyName, propertyValue); } 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 testSetProperty_Object() { testJavascriptObject.setProperty("MyBoolProp", Boolean.FALSE); verify(mockJsObject).setMember("MyBoolProp", Boolean.FALSE); }
@Test public void testSetProperty_JavascriptEnum() { MapTypeIdEnum mapType = MapTypeIdEnum.TERRAIN; testJavascriptObject.setProperty("MapType", mapType); verify(mockJsObject).setMember("MapType", mapType.getEnumValue()); }