fail(message.toString());
fail(message.toString());
fail("Expecting null, but have " + o2); fail("Expecting non-null, but have null: expected=" + o1); fail("Types differ: expecting " + o1.getClass() + ", but have " + o2.getClass() + " for " + o1.toShortString() + ", " + o2.toShortString() + "\n"); fail("Arity differs: expecting " + arity1 + ", but have " + arity2 + " for " + o1.toShortString() + ", " + o2.toShortString() + "\n"); fail("Not expecting annotation for " + name + " : expecting=" + o1 + ", actual=" + o2); fail("Missing annotation @ \"" + name + "\" : expecting=" + o1 + ", actual=" + o2); fail("Annotations differ for " + name + " : expecting=" + o1 + ", actual=" + o2); fail("#of annotations differs: expecting " + o1 + ", actual=" + o2 + ", missing=" + expectedSet.toString()); fail("#of annotations differs: expecting=" + o1 + "\nactual=" + o2 + "\nmissing=\n" + actualSet.toString()); fail("#of annotations differs: expecting " + o1 + ", actual=" + o2);
fail("Expecting null, but have " + o2); fail("Expecting non-null, but have null: expected=" + o1); fail("Types differ: expecting " + o1.getClass() + ", but have " + o2.getClass() + " for " + o1.toShortString() + ", " + o2.toShortString() + "\n"); fail("Arity differs: expecting " + arity1 + ", but have " + arity2 + " for " + o1.toShortString() + ", " + o2.toShortString() + "\n"); fail("Not expecting annotation for " + name + " : expecting=" + o1 + ", actual=" + o2); fail("Missing annotation @ \"" + name + "\" : expecting=" + o1 + ", actual=" + o2); fail("Annotations differ for " + name + " : expecting=" + o1 + ", actual=" + o2); fail("#of annotations differs: expecting " + o1 + ", actual=" + o2 + ", missing=" + expectedSet.toString()); fail("#of annotations differs: expecting=" + o1 + "\nactual=" + o2 + "\nmissing=\n" + actualSet.toString()); fail("#of annotations differs: expecting " + o1 + ", actual=" + o2);
fail(message.toString());
fail(message.toString());