def METHOD_NAME(self):
    """Test _create_msg_for_version_check"""
    # No need for additional test for successful case
    # Error case: bad error message pattern
    bad_patterns = [
        "no param",
        "one param %s",
        "three params %s %s %s"
    ]
    for bad_pattern in bad_patterns:
        message = _create_msg_for_version_check(bad_pattern, Version('2.2'), Version('2.2')) 
        self.assertEqual(
            message,
            bad_pattern + " -> See https://fedbiomed.org/latest/user-guide/deployment/versions for more information")