public function testPhone() { $this->assertNull($this->phone->getPhone()); $this->phone->setPhone('080011223355'); $this->assertEquals('080011223355', $this->phone->getPhone()); }
/** * @param AbstractPhone $object * @param mixed $format * @param array $context * @return array */ public function normalize($object, $format = null, array $context = array()) { return $object->getPhone(); }