@Test(expected = IllegalArgumentException.class)
    public void testIllegalArgumentThrownOnInvalidPortHigh() throws Exception {
        WakeOnLan.sendWakeOnLan("192.168.0.1", "00:04:20:06:55:1a", 65536, 10000, 5);
    }
To work on unit tests, switch the Test Artifact in the Build Variants view.
library/src/test/java/com/stealthcopter/networktools/WakeOnLanTest.java