@Test
public void testGetTagAndRawVarInt32Bytes()
{

    Assert.assertArrayEquals(
        new byte[]{6, -128, 2},
        ProtobufOutput.getTagAndRawVarInt32Bytes(6, 256));
    Assert.assertArrayEquals(
        new byte[]{-122, 14, 0},
        ProtobufOutput.getTagAndRawVarInt32Bytes(1798, 0));
    Assert.assertArrayEquals(
        new byte[]{0, 0},
        ProtobufOutput.getTagAndRawVarInt32Bytes(0, 0));
}