Skip to content

Commit

Permalink
Fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
Smeagolworms4 committed Jan 29, 2020
1 parent b8e49b3 commit 4294674
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ class MyTest extends TestCase {
$this->assertEqual($this->reflectionGetValue($obj, 'functionPrivate', [ 19 ]), 30);

$obj2 = new MyExtend();
$this->assertEqual($this->reflectionGetValue($obj2, 'reflectionGetValue'), 10, MyPrivate::class);
$this->assertEqual($this->reflectionGetValue($obj2, 'reflectionGetValue', MyPrivate::class), 10);

$this->reflectionSetValue($obj, 'reflectionGetValue', 20, MyPrivate::class);
$this->assertEqual($this->reflectionGetValue($obj2, 'reflectionGetValue'), 20, MyPrivate::class);
$this->reflectionSetValue($obj2, 'reflectionGetValue', 20, MyPrivate::class);
$this->assertEqual($this->reflectionGetValue($obj2, 'reflectionGetValue', MyPrivate::class), 20);

$this->assertEqual($this->reflectionGetValue($obj2, 'functionPrivate', [ 19 ]), 30, MyPrivate::class);
$this->assertEqual($this->reflectionGetValue($obj2, 'functionPrivate', [ 19 ], MyPrivate::class), 30);
}

}
Expand Down

0 comments on commit 4294674

Please sign in to comment.