Siehe: https://stackoverflow.com/questions/7432458/phpunit-expects-method-meaning
$mock = $this->getMock('nameOfTheClass', array('firstMethod','secondMethod','thirdMethod'));
$mock->expects($this->any())
->method('firstMethod')
->will($this->returnValue('value'));