Exemplo n.º 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();
 }
Exemplo n.º 2
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new GraphQueryImpl();
 }
Exemplo n.º 3
0
 public function setUp()
 {
     parent::setUp();
     $this->queryFactory = new QueryFactoryImpl();
     $this->fixture = $this->getMockForAbstractClass('\\Saft\\Sparql\\Query\\AbstractQuery');
 }
Exemplo n.º 4
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new UpdateQueryImpl();
     $this->queryFactory = new QueryFactoryImpl();
 }
Exemplo n.º 5
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = $this->newInstance();
 }
Exemplo n.º 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()));
 }
Exemplo n.º 7
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new EmptyResultImpl();
 }
Exemplo n.º 8
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new DescribeQueryImpl();
 }
Exemplo n.º 9
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new SerializationUtils();
 }
Exemplo n.º 10
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new SelectQueryImpl();
 }
Exemplo n.º 11
0
 public function tearDown()
 {
     $this->fixture->dropGraph($this->testGraph);
     parent::tearDown();
 }