This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static final int DEFAULT_BUFFER_SIZE = 1024 * 1024 * 4; | |
/** | |
* Test that bytes are written to the provided WriteStream correctly and the callback returns | |
* the excepted result. | |
*/ | |
@Test | |
public void happyPathWriteWithNotAlignedBuffer() { | |
byte[] bytes = "123456789ABCDEF".getBytes(); |