tests/Doctrine/Tests/DBAL/Query/Expression/ExpressionBuilderTest.php 1 location
|
@@ 15-24 (lines=10) @@
|
12 |
|
{ |
13 |
|
protected $expr; |
14 |
|
|
15 |
|
protected function setUp() |
16 |
|
{ |
17 |
|
$conn = $this->createMock('Doctrine\DBAL\Connection'); |
18 |
|
|
19 |
|
$this->expr = new ExpressionBuilder($conn); |
20 |
|
|
21 |
|
$conn->expects($this->any()) |
22 |
|
->method('getExpressionBuilder') |
23 |
|
->will($this->returnValue($this->expr)); |
24 |
|
} |
25 |
|
|
26 |
|
/** |
27 |
|
* @dataProvider provideDataForAndX |
tests/Doctrine/Tests/DBAL/Query/QueryBuilderTest.php 1 location
|
@@ 15-24 (lines=10) @@
|
12 |
|
{ |
13 |
|
protected $conn; |
14 |
|
|
15 |
|
protected function setUp() |
16 |
|
{ |
17 |
|
$this->conn = $this->createMock('Doctrine\DBAL\Connection'); |
18 |
|
|
19 |
|
$expressionBuilder = new ExpressionBuilder($this->conn); |
20 |
|
|
21 |
|
$this->conn->expects($this->any()) |
22 |
|
->method('getExpressionBuilder') |
23 |
|
->will($this->returnValue($expressionBuilder)); |
24 |
|
} |
25 |
|
|
26 |
|
/** |
27 |
|
* @group DBAL-2291 |