public function decorateConnectionGetConnectionWith($returnValue) { $this->connectionMock->expects($this->any())->method('getConnection')->will($this->returnValue($returnValue)); }
public function testGetAdapterConvenienceMethod() { $this->_connectionMock->expects($this->once())->method('getConnection'); $this->getAdapter(); }