### Question:
ListUtils { public static boolean contains(List<byte[]> source, byte[] target) { for (byte[] bytes : source) { if (Arrays.equals(bytes, target)) { return true; } } return false; }  static boolean contains(List<byte[]> source, byte[] target); static boolean containsAll(List<byte[]> source, List<byte[]> target); static boolean intersection(List<byte[]> source, List<byte[]> target);  }### Answer:
@Test public void testContains() { Assert.assertTrue(ListUtils.contains(new ArrayList<>(Arrays.asList( new byte[0])), new byte[0])); Assert.assertTrue(ListUtils.contains(new ArrayList<>(Arrays.asList( new byte[]{1, 2, 3})), new byte[]{1, 2, 3})); Assert.assertFalse(ListUtils.contains(new ArrayList<>(Arrays.asList( new byte[]{1, 2, 3})), new byte[0])); Assert.assertFalse(ListUtils.contains(new ArrayList<>(Arrays.asList( new byte[]{1, 2, 3})), new byte[]{4, 5, 6})); Assert.assertFalse(ListUtils.contains(new ArrayList<>(Arrays.asList( new byte[]{1}, new byte[]{2}, new byte[]{3})), new byte[]{1, 2, 3})); }