'Test arbitrary minimal lengths requirements.'

def test_min_length(self):

    Text(min_length=0).validate('')
    Text(min_length=0).validate(None)
    Text(min_length=0).validate('blake')
    Text(min_length=1).validate('b')
    Text(min_length=5).validate('blake')
    Text(min_length=5).validate('blaketastic')
    with self.assertRaises(ValidationError):
        Text(min_length=1).validate('')
    with self.assertRaises(ValidationError):
        Text(min_length=1).validate(None)
    with self.assertRaises(ValidationError):
        Text(min_length=6).validate('')
    with self.assertRaises(ValidationError):
        Text(min_length=6).validate(None)
    with self.assertRaises(ValidationError):
        Text(min_length=6).validate('blake')
    with self.assertRaises(ValueError):
        Text(min_length=(-1))
