### Question:
IPv6IODataSampleRxIndicator extends XBeeAPIPacket { @Override public boolean isBroadcast() { throw new UnsupportedOperationException(OPERATION_EXCEPTION); } IPv6IODataSampleRxIndicator(Inet6Address sourceAddress, byte[] rfData); static IPv6IODataSampleRxIndicator createPacket(byte[] payload); @Override boolean needsAPIFrameID(); @Override boolean isBroadcast(); Inet6Address getSourceAddress(); IOSample getIOSample(); void setRFData(byte[] rfData); byte[] getRFData(); @Override LinkedHashMap<String, String> getAPIPacketParameters();  }### Answer:
@SuppressWarnings("deprecation") @Test public final void testIsBroadcastWithNonBroadcastOption() { byte[] receivedData = new byte[]{(byte)0xFF, (byte)0xFF, (byte)0xFF, (byte)0xFF, (byte)0xFF, (byte)0xFF}; IPv6IODataSampleRxIndicator packet = new IPv6IODataSampleRxIndicator(ipv6address, receivedData); exception.expect(UnsupportedOperationException.class); packet.isBroadcast(); }