public function testDateTimeTzSetter() { $entity = new Entity(); $entity->id = 2; $entity->datetime_tz = Carbon::create(2012, 1, 1, 0, 0, 0, 'US/Pacific'); $this->em->persist($entity); $this->em->flush(); }