### Question:
VFSRuntimeRegistry extends InMemoryRuntimeRegistry { @Override public void deregisterRuntime(final RuntimeId runtimeId) { checkNotNull("runtimeId", runtimeId); final Path path = buildRuntimePath(runtimeId.getId()); registryHelper.deleteBatch(path); super.deregisterRuntime(runtimeId); } VFSRuntimeRegistry(); @Inject  VFSRuntimeRegistry(final VFSRegistryHelper registryHelper); @Override void registerProvider(final Provider provider); @Override void deregisterProvider(final Provider provider); @Override void deregisterProvider(final String providerId); @Override void registerRuntime(final Runtime runtime); @Override void deregisterRuntime(final RuntimeId runtimeId);  }### Answer:
@Test @Override public void testDeregisterRuntime() { prepareRuntimeTargetPath(); runtimeRegistry.registerRuntime(runtime); verifyRuntimeIsRegistered(runtime); runtimeRegistry.deregisterRuntime(runtime); verify(registryHelper, times(1)).deleteBatch(runtimeTargetPath); verifyRuntimeIsNotRegistered(runtime); }