### Question:
KarafCapability implements ICapability, Comparable<ICapability> { @Override public boolean isInstalled() { return featuresService.isInstalled( feature ); } KarafCapability( FeaturesService featuresService, Feature feature, KarafCapabilityProvider manager ); @Override String getId(); @Override String getDescription( Locale locale ); @Override boolean isInstalled(); @Override Future<Boolean> install(); @Override Future<Boolean> uninstall(); @Override URI getSourceUri(); @Override int compareTo( ICapability o );  }### Answer:
@Test public void testIsInstalled() throws Exception { karafCapability = new KarafCapability( featuresService, feature, karafCapabilityProvider ); boolean isInstalled = karafCapability.isInstalled(); assert( isInstalled == Boolean.FALSE ); }