コード例 #1
0
 private Watchdog getModel() {
   Watchdog watchDog = new Watchdog();
   watchDog.setAction(WatchdogAction.RESET);
   watchDog.setModel(WatchdogModel.I6300ESB);
   watchDog.setId(WATCHDOG_ID.toString());
   return watchDog;
 }
コード例 #2
0
 private void verifyModel(Watchdog model) {
   assertEquals(WATCHDOG_ID.toString(), model.getId());
   verifyLinks(model);
 }