ZapPlugin implements Plugin { @Override public void define(Context context) { context.addExtensions(ZapSensor.class, ZapSensorConfiguration.class, ZapMetrics.class, ZapProfile.class, ZapLanguage.class, ZapRuleDefinition.class, ZapWidget.class); }  @Override void define(Context context); static final String REPOSITORY_KEY; static final String LANGUAGE_KEY; static final String LANGUAGE_NAME; static final String RULES_FILE; }
@Test public void test_extensions() { final Plugin.Context context = mock(Plugin.Context.class); new ZapPlugin().define(context); }