示例#1
0
 /**
  */
 public function testAddLibrary()
 {
     $lib = new LibraryMock($this);
     $this->idx->addLibrary('name', $lib);
     $this->assertEquals(42, $this->idx->name()->test(42));
     $this->assertEquals(42, $this->idx->test(42));
 }