* @tests java.security.DigestOutputStream#write(byte[], int, int)
*/
public void test_writeLB$LILI() throws Exception {
// Regression form HARMONY-1091.
MessageDigest md = new MyMessageDigest1();
byte[] bytes = new byte[] { 1, 2 };
DigestOutputStream dig = new DigestOutputStream(
new ByteArrayOutputStream(), md);
// buf == null
try {