LiveCommandFactory { @Nonnull public static LiveCommandFactory getInstance() { return INSTANCE; } private  LiveCommandFactory(); @Nonnull static LiveCommandFactory getInstance(); @Nonnull LiveCommand getLiveCommand(@Nonnull final Command<?> command);  }
@Test public void liveCommandFactoryIsSingleton() { assertThat(underTest).isSameAs(LiveCommandFactory.getInstance()); }