예제 #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();
 }