@Test
public void testWriteIntUnicodeSurrogatePair() throws IOException {

	// writeInt + writeInt
	_testUnicodeSurrogatePair(
		(outputStreamWriter, surrogatePair) -> {
			outputStreamWriter.write(surrogatePair[0]);
			outputStreamWriter.write(surrogatePair[1]);
		});
	// writeInt + writeCharArray
	_testUnicodeSurrogatePair(
		(outputStreamWriter, surrogatePair) -> {
			outputStreamWriter.write(surrogatePair[0]);
			outputStreamWriter.write(new char[] {surrogatePair[1]});
		});
	// writeCharArray + writeInt
	_testUnicodeSurrogatePair(
		(outputStreamWriter, surrogatePair) -> {
			outputStreamWriter.write(new char[] {surrogatePair[0]});
			outputStreamWriter.write(surrogatePair[1]);
		});
	// writeCharArray + writeCharArray
	_testUnicodeSurrogatePair(
		(outputStreamWriter, surrogatePair) -> {
			outputStreamWriter.write(new char[] {surrogatePair[0]});
			outputStreamWriter.write(new char[] {surrogatePair[1]});
		});
}