示例#1
0
 public function testHasParameter()
 {
     $this->_mockContainer->shouldReceive('hasParameter')->once()->with('foo')->andReturn(false);
     $result = $this->_sut->hasParameter('foo');
     $this->assertFalse($result);
 }