I think assertTrue(Arrays.equals(b1, b2)) already checks this.