@Test
public void testSetOnStartup() {

  final String format = "already-set-when-connected-${time}";
  ntInstance.getEntry(RecorderController.DEFAULT_START_STOP_KEY).setBoolean(true);
  ntInstance.getEntry(RecorderController.DEFAULT_FILE_NAME_FORMAT_KEY).setString(format);
  controller.start();
  ntInstance.waitForEntryListenerQueue(-1);
  assertAll(
      () -> assertTrue(recorder.isRunning(), "Recorder should be running"),
      () -> assertEquals(format, recorder.getFileNameFormat(), "File name format should have been set")
  );
}