예제 #1
0
 public function testProtectedMethodCallsCopiedCorrectly()
 {
     return $this->assertTrue(SNAP_callStatic($this->mocked_obj, 'getProtectedParentTrue'));
 }
예제 #2
0
 public function setUp()
 {
     $mock = $this->mock('Mockable_Object_With_Private_Static_Members')->requiresInheritance()->construct();
     $this->result = SNAP_callStatic($mock, 'foo');
 }