Changed assert message to match method signature.