No, in Java the optional message for an assert statement comes first. It asserts that the values match, and if it fails prints a message saying which key it failed on.