@Test
public void testDecode() {

  final byte[] buffer = {0, 0, 0, 4, 1, 0, 1, 0};
  final boolean[] expected = {true, false, true, false};
  assertArrayEquals(expected, adapter.deserialize(buffer, 0));
}