### Question:
CellularDevice extends IPDevice { public CellularAssociationIndicationStatus getCellularAssociationIndicationStatus() throws TimeoutException, XBeeException { byte[] associationIndicationValue = getParameter("AI"); return CellularAssociationIndicationStatus.get(ByteUtils.byteArrayToInt(associationIndicationValue)); } CellularDevice(String port, int baudRate);  CellularDevice(String port, int baudRate, int dataBits, int stopBits, int parity, int flowControl);  CellularDevice(String port, SerialPortParameters serialPortParameters);  CellularDevice(IConnectionInterface connectionInterface); @Override void open(); @Override XBeeProtocol getXBeeProtocol(); @Override void readDeviceInfo(); boolean isConnected(); XBeeIMEIAddress getIMEIAddress(); CellularAssociationIndicationStatus getCellularAssociationIndicationStatus(); @Override XBee64BitAddress get64BitAddress(); @Override void addIOSampleListener(IIOSampleReceiveListener listener); @Override void removeIOSampleListener(IIOSampleReceiveListener listener); @Override Set<IOLine> getDIOChangeDetection(); @Override void setDIOChangeDetection(Set<IOLine> lines); @Override int getIOSamplingRate(); @Override void setIOSamplingRate(int rate); @Override String getNodeID(); @Override void setNodeID(String nodeID); @Override PowerLevel getPowerLevel(); @Override void setPowerLevel(PowerLevel powerLevel); @Override void addSMSListener(ISMSReceiveListener listener); @Override void removeSMSListener(ISMSReceiveListener listener); void sendSMS(String phoneNumber, String data); void sendSMSAsync(String phoneNumber, String data);  }### Answer:
@Test public void testAssociationIndicationStatus() throws Exception { Mockito.doReturn(RESPONSE_AI).when(cellularDevice).getParameter(PARAMETER_AI); assertEquals(validCellularAIStatus, cellularDevice.getCellularAssociationIndicationStatus()); }