}
@Test
public void testInnerClasses() {
String comp_name = "org.apache.felix.ipojo.runtime.core.components.ComponentWithInnerClasses";
Element manipulation = getManipulationForComponent(comp_name);
Element[] inners = manipulation.getElements("inner");
assertEquals(inners.length, 3);
Element inner = getInnerClassMetadataByName(inners, "MyInnerWithANativeMethod");
Assert.assertNotNull(inner);
Assert.assertNotNull(getMethodByName(inner.getElements("method"), "foo"));
inner = getInnerClassMetadataByName(inners, "MyInnerClass");
assertNotNull(inner);
assertNotNull(getMethodByName(inner.getElements("method"), "foo"));
inner = getInnerClassMetadataByName(inners, "1");
assertNotNull(inner);
assertNotNull(getMethodByName(inner.getElements("method"), "run"));
}