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