Definition renderer = parser.parse(descriptor, source);
// STEP 2:Verify the RENDERERDEF object
assertTrue(renderer instanceof JavascriptRendererDef);
// Convert from a generic DEFINITION to a Javascript Renderer Definition
JavascriptRendererDef obj = (JavascriptRendererDef) renderer;
// Step 3: Gold file the JAvascriptRenderDef
serializeAndGoldFile(renderer, "_JSRendererDef");
// Step 4: Verify properties of JavascriptRenderDef Object
// OBject that is to be verified, Qualified name,
assertEquals("unexpected qualifiedName of renderer",
"js://test.testJSRenderer", obj.getDescriptor()
.getQualifiedName());
}