### Question:
RestClient extends Client { @Override public Cdr waitForNoMsgType(String msgType, Integer timeoutMillis) throws EtiqetException { return waitForNoMsg(msgQueue, timeoutMillis); } RestClient(String clientConfig);  RestClient(String primaryConfig, String secondaryConfig);  RestClient(String primaryClientConfig, String secondaryClientConfig,
      ProtocolConfig protocol); @Override void launchClient(String configPath); @Override void send(Cdr msg); @Override void send(Cdr msg, String sessionId); @Override Cdr waitForMsgType(String msgType, Integer timeoutMillis); @Override void stop(); @Override boolean isLoggedOn(); @Override String getMsgType(String messageType); @Override String getMsgName(String messageName); @Override Cdr waitForNoMsgType(String msgType, Integer timeoutMillis);  }### Answer:
@Test public void testwaitForNoMsgType() throws EtiqetException { assertNull(client.waitForNoMsgType("test", 100)); client.send(testCdr); try { assertNull(client.waitForNoMsgType("test", 100)); fail( "Expected EtiqetException not thrown" ); } catch (EtiqetException e) { } }