GatewayCfg { public boolean isInitialized() { return initialized; }  void init(); void init(final String defaultHost); boolean isInitialized(); NetworkCfg getNetwork(); GatewayCfg setNetwork(final NetworkCfg network); ClusterCfg getCluster(); GatewayCfg setCluster(final ClusterCfg cluster); ThreadsCfg getThreads(); GatewayCfg setThreads(final ThreadsCfg threads); MonitoringCfg getMonitoring(); GatewayCfg setMonitoring(final MonitoringCfg monitoring); SecurityCfg getSecurity(); GatewayCfg setSecurity(final SecurityCfg security); LongPollingCfg getLongPolling(); GatewayCfg setLongPolling(final LongPollingCfg longPolling); @Override int hashCode(); @Override boolean equals(final Object o); @Override String toString(); String toJson();  }
@Test public void configIsNotInitilazedByDefault() { final var gatewayCfg = new GatewayCfg(); final boolean actual = gatewayCfg.isInitialized(); assertThat(actual).isFalse(); }