public function testAllowsCombinationOfMockAndStub() { Mokka::verify($this->_mock)->setBar(); Mokka::when($this->_mock)->setBar()->thenReturn(TRUE); $this->assertTrue($this->_mock->setBar()); }