### Question:
GatewayClient { public boolean isInitialized() { return gatewayConfigProperties != null; }  void setGatewayConfigProperties(GatewayConfigProperties gatewayConfigProperties); GatewayConfigProperties getGatewayConfigProperties(); boolean isInitialized();  }### Answer:
@Test public void testIsInitialized() { assertTrue(gatewayClient.isInitialized()); gatewayClient.setGatewayConfigProperties(null); assertFalse(gatewayClient.isInitialized()); }