src/integrationtests/java/com/aws/iot/integrationtests/edgeconnectorforkvs/videorecorder/VideoRecorderToggleSetAppPathTest.java [127:142]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private void checkByteArray(boolean isZero) throws IOException {
        ByteArrayOutputStream byteArray[] = new ByteArrayOutputStream[] {this.rec1ByteOut1,
                this.rec1ByteOut2, this.rec2ByteOut1, this.rec2ByteOut2};

        for (ByteArrayOutputStream b : byteArray) {
            long len = b.toByteArray().length;

            System.out.println("len = " + len);

            if (isZero) {
                Assertions.assertEquals(0, len);
            } else {
                Assertions.assertTrue(len > 0);
            }
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/integrationtests/java/com/aws/iot/integrationtests/edgeconnectorforkvs/videorecorder/VideoRecorderNewRecorderAppPathTest.java [107:122]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private void checkByteArray(boolean isZero) throws IOException {
        ByteArrayOutputStream byteArray[] = new ByteArrayOutputStream[] {this.rec1ByteOut1,
                this.rec1ByteOut2, this.rec2ByteOut1, this.rec2ByteOut2};

        for (ByteArrayOutputStream b : byteArray) {
            long len = b.toByteArray().length;

            System.out.println("len = " + len);

            if (isZero) {
                Assertions.assertEquals(0, len);
            } else {
                Assertions.assertTrue(len > 0);
            }
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



