Ejemplo n.º 1
0
 public function testIdentifierIsMutable()
 {
     $isNotNull = new IsNotNull();
     $isNotNull->setIdentifier('foo.bar');
     $this->assertEquals('foo.bar', $isNotNull->getIdentifier());
 }
Ejemplo n.º 2
0
 public function testCanPassIdentifierToConstructor()
 {
     $isnull = new IsNotNull('foo.bar');
     $this->assertEquals('foo.bar', $isnull->getIdentifier());
 }