コード例 #1
0
ファイル: ScopeTest.php プロジェクト: Farik2605/tobi
 public function testEmptyScope()
 {
     $s = new Scope();
     $this->assertTrue($s->isEmpty());
     $this->assertTrue($s->equals(new Scope()));
     $this->assertFalse($s->hasScope(new Scope(array("foo"))));
     $this->assertTrue($s->hasScope(new Scope()));
     $this->assertTrue($s->hasAnyScope(new Scope()));
 }