### Question:
AccessPoint { public void setSignalQuality(int signalQuality) { if (signalQuality < 0 || signalQuality > 100) throw new IllegalArgumentException(ERROR_SIGNAL_QUALITY); this.signalQuality = signalQuality; } AccessPoint(String ssid, WiFiEncryptionType encryptionType);  AccessPoint(String ssid, WiFiEncryptionType encryptionType, int channel,
			int signalQuality); String getSSID(); WiFiEncryptionType getEncryptionType(); int getChannel(); void setChannel(int channel); int getSignalQuality(); void setSignalQuality(int signalQuality); @Override String toString();  }### Answer:
@Test(expected=IllegalArgumentException.class) public void testSetSignalQualityNegative() { AccessPoint accessPoint = new AccessPoint(SSID, ENCRYPTION_TYPE); accessPoint.setSignalQuality(-10); }
@Test(expected=IllegalArgumentException.class) public void testSetSignalQualityBIG() { AccessPoint accessPoint = new AccessPoint(SSID, ENCRYPTION_TYPE); accessPoint.setSignalQuality(150); }