Пример #1
0
 public function setUp()
 {
     parent::setUp();
     $this->queryFactory = new QueryFactoryImpl();
     $this->fixture = new QueryCache(new MemoryStorage($path), new QueryFactoryImpl(), new StatementIteratorFactoryImpl());
     $this->fixture->getCache()->clean();
 }
Пример #2
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new GraphQueryImpl();
 }
Пример #3
0
 public function setUp()
 {
     parent::setUp();
     $this->queryFactory = new QueryFactoryImpl();
     $this->fixture = $this->getMockForAbstractClass('\\Saft\\Sparql\\Query\\AbstractQuery');
 }
Пример #4
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new UpdateQueryImpl();
     $this->queryFactory = new QueryFactoryImpl();
 }
Пример #5
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = $this->newInstance();
 }
Пример #6
0
 public function setUp()
 {
     parent::setUp();
     $this->mock = $this->getMockForAbstractClass('\\Saft\\Store\\AbstractSparqlStore', array(new NodeFactoryImpl(), new StatementFactoryImpl(), new QueryFactoryImpl(), new ResultFactoryImpl(), new StatementIteratorFactoryImpl()));
 }
Пример #7
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new EmptyResultImpl();
 }
Пример #8
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new DescribeQueryImpl();
 }
Пример #9
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new SerializationUtils();
 }
Пример #10
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new SelectQueryImpl();
 }
Пример #11
0
 public function tearDown()
 {
     $this->fixture->dropGraph($this->testGraph);
     parent::tearDown();
 }