### Question:
NetTrafficUtils { public static boolean setNetworkDelay(RemoteCmdClient client, int delayTime, int delaySecond) { return setNetworkDelay(client, "eth0", delayTime, delaySecond); }  static boolean settNetWorkReorder(RemoteCmdClient client, int delayTime, int percent, int delaySecond); static boolean setNetWorkReorder(RemoteCmdClient client, String networkCard, int delayTime, int percent, int delaySecond); static boolean setNetWorkReorder(RemoteCmdClient client, String networkCard, int delayTime, int percent, int delaySecond, int triggerSecond); static boolean setNetWorkReorder(RemoteCmdClient client, int delayTime, int percent, int delaySecond, int triggerSecond); static boolean settNetWorkDuplicate(RemoteCmdClient client, int duplicate, int delaySecond); static boolean setNetWorkDuplicate(RemoteCmdClient client, String networkCard, int duplicate, int delaySecond); static boolean setNetWorkDuplicate(RemoteCmdClient client, String networkCard, int duplicate, int delaySecond, int triggerSecond); static boolean setNetWorkDuplicate(RemoteCmdClient client, int duplicate, int delaySecond, int triggerSecond); static boolean setPackageLoss(RemoteCmdClient client, int percent, int delaySecond); static boolean setPackageLoss(RemoteCmdClient client, String networkCard, int percent, int delaySecond); static boolean setPackageLoss(RemoteCmdClient client, String networkCard, int percent, int delaySecond, int triggerSecond); static boolean setPackageLoss(RemoteCmdClient client, int percent, int delaySecond, int triggerSecond); static boolean setNetworkDelay(RemoteCmdClient client, int delayTime, int delaySecond); static boolean setNetworkDelay(RemoteCmdClient client, String networkCard, int delayTime, int delaySecond); static boolean setNetworkDelay(RemoteCmdClient client, int delayTime, int delaySecond, int triggerSecond); static boolean setNetworkDelay(RemoteCmdClient client, String networkCard, int delayTime, int delaySecond, int triggerSecond); static void clearNetworkDelay(RemoteCmdClient client); static void clearNetworkDelay(RemoteCmdClient client, String networkCard); static void clearPackageLoss(RemoteCmdClient client); static void clearPackageLoss(RemoteCmdClient client, String networkCard);  }### Answer:
@Test public void testSetNetworkDelay() { Map<String, String> params = ((AbstractElement) this.getTestProject()).getVariables(); RemoteCmdClientConfig connectUnit = new RemoteCmdClientConfig(); connectUnit.setPassword(params.get("password")); connectUnit.setUserName(params.get("userName")); connectUnit.setIp(params.get("ip")); RemoteCmdClient commandExecutor = new RemoteCmdClient(connectUnit); NetTrafficUtils.setNetworkDelay(commandExecutor, 10, 10); }