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