/** * Test: Setting invalid device type * * @covers \Phue\Command\CreateUser::setDeviceType * * @expectedException \InvalidArgumentException */ public function testExceptionOnInvalidDeviceType() { $command = new CreateUser(); $command->setDeviceType(str_repeat('X', 41)); }