package info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.pod.command;

// TODO capture silence alerts command
public class SilenceAlertsCommandTest {
}
@@ -79,84 +79,662 @@
 d;%0A%0A
-// TODO capture s
+import org.apache.commons.codec.DecoderException;%0Aimport org.apache.commons.codec.binary.Hex;%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.assertArrayEquals;%0A%0Apublic class S
 ilence
- a
+A
 lerts
- c
+C
 ommand
-%0Apublic class SilenceAlertsCommandTest %7B
+Test %7B%0A    @Test%0A    public void testSilenceLowReservoirAlert() throws DecoderException %7B%0A        byte%5B%5D encoded = new SilenceAlertsCommand(37879811, (short) 1, false, new SilenceAlertsCommand.SilenceAlertCommandParameters(false, false, false, false, true, false, false, false)) //%0A                .getEncoded();%0A%0A        assertArrayEquals(Hex.decodeHex(%220242000304071105494E532E1081CE%22), encoded);%0A    %7D%0A%0A    // TODO capture more silence alerts commands
 %0A%7D

Add test for SilenceAlertsCommand