* Verify that javascript model defs are serializable.
*/
public void testDefaults() throws Exception {
// Find the model by autowiring
Aura.getDefinitionService().getDefinition("test:jsModel", ComponentDef.class);
JavascriptModelDef modelDef = (JavascriptModelDef) Aura.getDefinitionService().getDefinition(
"js://test.jsModel", ModelDef.class);
// Make sure the properties expected are found on the def
validateProperty(modelDef, "obj", Maps.newHashMap());
validateProperty(modelDef, "bool", true);