### Question:
DisableAppService { public void remove(final String appName) { regCenter.remove(DisableAppNode.getDisableAppNodePath(appName)); } DisableAppService(final CoordinatorRegistryCenter regCenter); void add(final String appName); void remove(final String appName); boolean isDisabled(final String appName);  }### Answer:
@Test public void assertRemove() { disableAppService.remove("test_app"); Mockito.verify(regCenter).remove("/state/disable/app/test_app"); }
@Test public void assertRemove() { disableAppService.remove("test_app"); verify(regCenter).remove("/state/disable/app/test_app"); }