private static void assertVariableWithValues(Slice[] expectedValues)
{
VariableWidthBlockBuilder blockBuilder = new VariableWidthBlockBuilder(new BlockBuilderStatus());
for (Slice expectedValue : expectedValues) {
if (expectedValue == null) {
blockBuilder.appendNull();
}
else {
blockBuilder.writeBytes(expectedValue, 0, expectedValue.length()).closeEntry();
}
}