Example #1
0
 public function test__toString()
 {
     $this->object->setFormatter(new Inflector());
     $this->object->setName('city');
     $this->assertEquals('City', (string) $this->object);
     $this->object->setName('CITY');
     $this->assertEquals('City', (string) $this->object);
 }