MsgPCCommStart extends MessageBase { @Override public void handleMessage(byte[] bytes) { if (L.isEnabled(L.PUMPCOMM)) log.debug("PC comm start received"); } MsgPCCommStart(); @Override void handleMessage(byte[] bytes);  }
@Test public void runTest() { AAPSMocker.mockMainApp(); AAPSMocker.mockApplicationContext(); AAPSMocker.mockSP(); AAPSMocker.mockL(); MsgPCCommStart packet = new MsgPCCommStart(); packet.handleMessage(createArray(34, (byte) 1)); }