assertFalse( foo.hashCode() == bar.hashCode() );
//noinspection ArrayEquals
assertFalse( foo.equals( bar ) );
HashingStrategy<char[]> strategy = new ArrayHashingStrategy();
assertTrue( strategy.computeHashCode( foo ) ==
strategy.computeHashCode( bar ) );
assertTrue( strategy.equals( foo, bar ) );
Set<char[]> set = new TCustomHashSet<char[]>( strategy );
set.add( foo );
assertTrue( set.contains( foo ) );
assertTrue( set.contains( bar ) );