### Question:
LPWANDevice extends CellularDevice { @Override public void sendSMS(String phoneNumber, String data) throws TimeoutException, XBeeException { throw new UnsupportedOperationException(OPERATION_EXCEPTION); } protected  LPWANDevice(String port, int baudRate); protected  LPWANDevice(String port, int baudRate, int dataBits, int stopBits, int parity, int flowControl); protected  LPWANDevice(String port, SerialPortParameters serialPortParameters); protected  LPWANDevice(IConnectionInterface connectionInterface); @Override void addSMSListener(ISMSReceiveListener listener); @Override void removeSMSListener(ISMSReceiveListener listener); @Override void sendSMS(String phoneNumber, String data); @Override void sendSMSAsync(String phoneNumber, String data); @Override void sendIPData(Inet4Address ipAddress, int destPort, IPProtocol protocol, 
			byte[] data); @Override void sendIPData(Inet4Address ipAddress, int destPort, IPProtocol protocol, 
			boolean closeSocket, byte[] data); @Override void sendIPDataAsync(Inet4Address ipAddress, int destPort, IPProtocol protocol, 
			byte[] data); @Override void sendIPDataAsync(Inet4Address ipAddress, int destPort, IPProtocol protocol, 
			boolean closeSocket, byte[] data);  }### Answer:
@SuppressWarnings("deprecation") @Test public void testNotSupportedOperationSendSMS() throws Exception { exception.expect(UnsupportedOperationException.class); exception.expectMessage(is(equalTo("Operation not supported in this module."))); lpWanDevice.sendSMS(null, null); }