void (Disposable disposable) { final ExtensionPoint<FacetType> ep = Extensions.getRootArea().getExtensionPoint(FacetType.EP_NAME); TestCase.assertNotNull(ep); final FacetTypeId id = new FacetTypeId("DebugUsageStatisticsFacet"); final TestUsageStatisticsFacetType facetType = new TestUsageStatisticsFacetType(id, "Test Usage Statistics Facet", "Mock Facet for Testing"); ep.registerExtension(facetType, disposable); }