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