Пример #1
0
 @Test
 public void sanityTestNoExceptions() {
   WakeOnLan wol = new WakeOnLan("AA:BB:CC:DD:EE:FF");
   try {
     wol.send();
   } catch (IOException | ActionParameterException e) {
     fail();
   }
 }
Пример #2
0
 @Test
 public void emptyArray() {
   WakeOnLan wol = new WakeOnLan();
   try {
     wol.send();
   } catch (IOException | ActionParameterException e) {
     fail();
   }
 }