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