/**
  * gets a varien_object mock with mocked getData
  * @param $returnValue for getData method
  * @return PHPUnit_Framework_MockObject_MockObject
  */
 private function getObjectMockGetData($returnValue)
 {
     $mock = $this->testCase->getMock('Varien_Object', array('getData'));
     $mock->expects($this->testCase->once())->method('getData')->will($this->testCase->returnValue($returnValue));
     return $mock;
 }