### Question:
ByteVector { final ByteVector put112(final int byteValue1, final int byteValue2, final int shortValue) { int currentLength = length; if (currentLength + 4 > data.length) { enlarge(4); } byte[] currentData = data; currentData[currentLength++] = (byte) byteValue1; currentData[currentLength++] = (byte) byteValue2; currentData[currentLength++] = (byte) (shortValue >>> 8); currentData[currentLength++] = (byte) shortValue; length = currentLength; return this; } ByteVector();  ByteVector(final int initialCapacity);   ByteVector(final byte[] data); ByteVector putByte(final int byteValue); ByteVector putShort(final int shortValue); ByteVector putInt(final int intValue); ByteVector putLong(final long longValue); ByteVector putUTF8(final String stringValue); ByteVector putByteArray(
      final byte[] byteArrayValue, final int byteOffset, final int byteLength);  }### Answer:
@Test public void testPut112() { ByteVector byteVector = new ByteVector(0); byteVector.put112(1, 2, 0x0304); assertArrayEquals(new byte[] {1, 2, 3, 4}, toArray(byteVector)); }