예제 #1
0
파일: MokkaTest.php 프로젝트: belanur/mokka
 public function testInvocationProxyMethods()
 {
     $this->assertEquals(new Once(), Mokka::once());
     $this->assertEquals(new AtLeast(3), Mokka::atLeast(3));
     $this->assertEquals(new Exactly(2), Mokka::exactly(2));
     $this->assertEquals(new AnythingArgument(), Mokka::anything());
     $this->assertEquals(new Never(), Mokka::never());
 }