コード例 #1
0
ファイル: IsNullTest.php プロジェクト: haoyanfei/zf2
 public function testIdentifierIsMutable()
 {
     $isNotNull = new IsNotNull();
     $isNotNull->setIdentifier('foo.bar');
     $this->assertEquals('foo.bar', $isNotNull->getIdentifier());
 }
コード例 #2
0
ファイル: IsNullTest.php プロジェクト: bradley-holt/zf2
 public function testCanPassIdentifierToConstructor()
 {
     $isnull = new IsNotNull('foo.bar');
     $this->assertEquals('foo.bar', $isnull->getIdentifier());
 }