public void testDecodeInvalidElement() throws Exception
{
ByteStringBuilder builder = new ByteStringBuilder();
ASN1Writer writer = ASN1.getWriter(builder);
writer.writeStartSequence(OP_TYPE_MODIFY_REQUEST);
writer.writeStartSequence();
writer.writeEndSequence();
writer.writeOctetString(dn);
writer.writeEndSequence();
ASN1Reader reader = ASN1.getReader(builder.toByteString());