AddressSet { public int size() { return addresses.length; }  BoltServerAddress[] toArray(); int size(); synchronized void update( Set<BoltServerAddress> addresses ); synchronized void remove( BoltServerAddress address ); @Override String toString();  }
@Test void shouldHaveSizeZeroWhenEmpty() { AddressSet addressSet = new AddressSet(); assertEquals( 0, addressSet.size() ); }