def METHOD_NAME(test_strings):
    """Generate tests from test strings.
    :param test_strings: to generate tests from
    :return: test
    """
    def _test(self):
        """Generate tests.
        :param self:
        :return: test to run
        """
        for test_string in test_strings:
            self.assertEqual(test_string, TEST_RESULT)
    return _test