/** * @expectedException Trellis\Common\Error\BadValueException * @codeCoverageIgnore */ public function testInvalidLocaleForFill3() { DataGenerator::fill($this->entity, array(DataGenerator::OPTION_LOCALE => new \stdClass())); }