Example #1
0
 /**
  * @covers Brickoo\Component\Common\Registry::isIdentifierAvailable
  * @covers Brickoo\Component\Common\Registry::isRegistered
  */
 public function testIsIdentifierAvailable()
 {
     $this->assertFalse($this->registry->isIdentifierAvailable("name"));
     $this->registry->register("name", "john");
     $this->assertTrue($this->registry->isIdentifierAvailable("name"));
 }