### Question:
CopyAssetPublishUrlFeature implements Feature { @Override public boolean isEnabled(ExecutionContext executionContext) { return config.feature_flag_active_status(); }  @Override String getName(); @Override String getDescription(); @Override boolean isEnabled(ExecutionContext executionContext);  }### Answer:
@Test public void isEnabled_Enabled() { ctx.registerInjectActivateService(new CopyAssetPublishUrlFeature(), "feature.flag.active.status", "true"); Feature feature = ctx.getService(Feature.class); assertTrue(feature.isEnabled(null)); }
@Test public void isEnabled_Disabled() { ctx.registerInjectActivateService(new CopyAssetPublishUrlFeature(), "feature.flag.active.status", "false"); Feature feature = ctx.getService(Feature.class); assertFalse(feature.isEnabled(null)); }
@Test public void isEnabled_Default() { ctx.registerInjectActivateService(new CopyAssetPublishUrlFeature()); Feature feature = ctx.getService(Feature.class); assertFalse(feature.isEnabled(null)); }