* @throws Exception
* @hierarchy Aura.Runtime.Service
* @userStory AuraServlet: POST
*/
public void testGetComponent() throws Exception {
Component component = Aura.getInstanceService()
.getInstance("auratest:testComponent1", ComponentDef.class, null);
assertEquals("Default String", component.getAttributes().getExpression("myString")); // from
// the
// component
assertEquals(true, component.getAttributes().getExpression("myBoolean")); // from
// the
// parent
// component
assertEquals("Interface String", component.getAttributes().getExpression("interfaceString")); // from
// the
// interface
assertEquals("1", component.getGlobalId());
}