public function testExceptionOnInvalidDeviceType() { $command = new CreateUser(); $command->setDeviceType(str_repeat('X', 41)); }