return war;
}
@Test
public void testGetStatus() {
Capability capability;
for (String p : TEST_DATA) {
if (p.indexOf(',') > 0) {
String in[] = p.split(",");
capability = new Capability(in[0], in[1]);
p = in[0];
} else {
capability = new Capability(p);
}
CapabilityState cState = capabilitiesService.getStatus(capability);
assertEquals(p, cState.getCapability().getPackageName());
assertEquals(CapabilityStatus.ENABLED, cState.getStatus());
}