public function testIsLowercaseWillThrowException() { $this->setExpectedException(Exception::class); $value = 'STRTOLOWER'; Assert::isLowercase($value); }
public function testItShouldCheckIfHasFileNameFormatUploadMany() { $validator = function ($value) { Assert::isLowercase($value); }; Assert::hasFileUploadedFileNameFormat('image_set', $validator); }