public function testGetName()
 {
     $this->assertSame('constantMonth', $this->object->getName());
 }
Exemplo n.º 2
0
 /**
  * Adds property definition
  *
  * @param PropertyDefinition $property
  * @return self
  */
 public function addProperty(PropertyDefinition $property)
 {
     $this->properties[$property->getName()] = $property;
     return $this;
 }