@AfterClass
public void restoreRuntime() throws Exception {
// Restore original runtime/platform
setSingleton(OSGIRuntimeImpl.class, originalRuntime);
new PlatformAccess().setPlatform(originalPlatform);
// Flush out the registry, since we can't mock it
clearRegistry();
}