@Test
public void testStop() {

  generator.start();
  rootMetaTable.getEntry(TabGenerator.TABS_ENTRY_KEY).setStringArray(new String[]{"Foo"});
  waitForNtUpdate();
  TabStructure tabs = generator.getStructure();
  assertAll(
      () -> assertEquals(1, tabs.getTabs().size()),
      () -> assertTrue(tabs.getTabs().containsKey("Foo"))
  );
  generator.stop();
  rootMetaTable.getEntry(TabGenerator.TABS_ENTRY_KEY).setStringArray(new String[]{"Foo", "Bar"});
  waitForNtUpdate();
  assertAll(
      () -> assertEquals(1, tabs.getTabs().size()),
      () -> assertTrue(tabs.getTabs().containsKey("Foo"))
  );
}