@Test
void writeCommandSet() throws IOException {

    ByteArrayOutputStream bout = new ByteArrayOutputStream();
    try (DicomOutputStream dos = new DicomOutputStream(bout)) {
        dos.writeCommandSet(c_echo_rq());
    }
    assertArrayEquals(C_ECHO_RQ, bout.toByteArray());
}