Esempio n. 1
0
 /**
  * Test Get and Set Name Property
  *
  * @return void
  *
  * @covers \Rcm\Entity\ContainerAbstract
  */
 public function testGetAndSetName()
 {
     $name = 'some-name';
     $this->container->setName($name);
     $actual = $this->container->getName();
     $this->assertEquals($name, $actual);
 }
Esempio n. 2
0
File: Site.php Progetto: reliv/Rcm
 /**
  * Set up a page
  *
  * @param Container $container Page Entity to add.
  *
  * @return void
  */
 public function addContainer(Container $container)
 {
     $this->containers[$container->getName()] = $container;
 }