@Test public void createNonExisting() { Optional<TesseraApp> result = TesseraAppFactory.create(CommunicationType.WEB_SOCKET, AppType.P2P); assertThat(result).isNotPresent(); }
public static Optional<TesseraApp> create(CommunicationType communicationType, AppType appType) { LOGGER.info("Create from {} {}", communicationType, appType); return INSTANCE.createApp(communicationType, appType); }
TesseraAppFactory { public static Optional<TesseraApp> create(CommunicationType communicationType, AppType appType) { LOGGER.info("Create from {} {}", communicationType, appType); return INSTANCE.createApp(communicationType, appType); } }
TesseraAppFactory { public static Optional<TesseraApp> create(CommunicationType communicationType, AppType appType) { LOGGER.info("Create from {} {}", communicationType, appType); return INSTANCE.createApp(communicationType, appType); } private  TesseraAppFactory(); }
TesseraAppFactory { public static Optional<TesseraApp> create(CommunicationType communicationType, AppType appType) { LOGGER.info("Create from {} {}", communicationType, appType); return INSTANCE.createApp(communicationType, appType); } private  TesseraAppFactory(); static Optional<TesseraApp> create(CommunicationType communicationType, AppType appType); }
TesseraAppFactory { public static Optional<TesseraApp> create(CommunicationType communicationType, AppType appType) { LOGGER.info("Create from {} {}", communicationType, appType); return INSTANCE.createApp(communicationType, appType); } private  TesseraAppFactory(); static Optional<TesseraApp> create(CommunicationType communicationType, AppType appType);  }