protected function tearDown() { $this->mockista->assertExpectations(); }
/** * @expectedException Mockista\MockException */ function testAssertExpectations() { $mock1 = $this->object->create(); $mock1->expects('abc')->twice(); $this->object->assertExpectations(); }