@Test
public void testGetTagAndRawVarInt64Bytes() {

    Assert.assertArrayEquals(
        new byte[]{103, -26, 96},
        ProtobufOutput.getTagAndRawVarInt64Bytes(103, 12390L));
    Assert.assertArrayEquals(
        new byte[]{-89, 38, 38},
        ProtobufOutput.getTagAndRawVarInt64Bytes(4903, 38L));
    Assert.assertArrayEquals(
        new byte[]{0, 0},
        ProtobufOutput.getTagAndRawVarInt64Bytes(0, 0L));
}