def METHOD_NAME(self, language, country=None):
    for i in xrange(1000):
        phrase = POBox.phrase(POBox.random(language, country=country), language, country=country)
        if phrase is None:
            break
        self.assertTrue(self.valid_phrase(phrase), six.u('phrase was: {}').format(phrase))