/** * @test * @group unit * @expectedException Pollo\Core\Domain\Command\Exception\CannotDeserializeCommand */ public function invalid_serialized_data_should_throw_exception() { $serialized = array(); VoteOption::deserialize($serialized); }