示例#1
0
 public function testGetParam()
 {
     $this->_mockContainer->shouldReceive('getParameter')->once()->with('foo')->andReturn('bar');
     $result = $this->_sut->getParameter('foo');
     $this->assertEquals('bar', $result);
 }