コード例 #1
0
ファイル: DataSetTestCase.php プロジェクト: jsnshrmn/Suma
 public function decorateConnectionGetConnectionWith($returnValue)
 {
     $this->connectionMock->expects($this->any())->method('getConnection')->will($this->returnValue($returnValue));
 }
コード例 #2
0
ファイル: TestCaseTest.php プロジェクト: jsnshrmn/Suma
 public function testGetAdapterConvenienceMethod()
 {
     $this->_connectionMock->expects($this->once())->method('getConnection');
     $this->getAdapter();
 }