public function testSet() { $bla = new stdClass(); $this->_mockContainer->shouldReceive('set')->once()->with('foo', $bla); $this->_sut->set('foo', $bla); $this->assertTrue(true); }