doc.expectedNothing();
// close the view
waveView.close();
assertEquals(1, waveViewService.closes.size());
waveViewService.lastClose().callback.onSuccess();
}
private static byte[] sig(int s) {
return new byte[] { (byte) s, (byte) s, (byte) s, (byte) s };
}