Added new AssertionError for convenience when testing mandate.