}
private void assertStringBuilderHash(String toHash) throws Exception {
int expected = getHashCode(toHash);
StringBuilder builder = new StringBuilder();
builder.addString(toHash);
assertHash(builder.build(), true, expected);
}
public void testStringBuilderEmptyString() throws Exception {
assertStringBuilderHash("");