コード例 #1
0
ファイル: BaseTestCase.php プロジェクト: jasir/Ra
 protected function tearDown()
 {
     $this->mockista->assertExpectations();
 }
コード例 #2
0
ファイル: RegistryTest.php プロジェクト: saimons/mockista
 /**
  * @expectedException Mockista\MockException
  */
 function testAssertExpectations()
 {
     $mock1 = $this->object->create();
     $mock1->expects('abc')->twice();
     $this->object->assertExpectations();
 }