/** * @test * * @expectedException InvalidArgumentException */ public function setTypeForInvalidTypeThrowsException() { $this->fixture->setType(-1); }