Skip to content

Commit

Permalink
Merge pull request #92 from sj-i/add-test-call-trace
Browse files Browse the repository at this point in the history
add an assertion for CallFrameTest
  • Loading branch information
sj-i committed Sep 23, 2021
2 parents e50441b + 22c7bb0 commit 1839292
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/Lib/PhpProcessReader/CallFrameTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ class CallFrameTest extends TestCase
{
public function testGetFullyQualifiedFunctionName()
{
$call_frame = new CallFrame(
'',
'function_name',
'file_name',
null
);
$this->assertSame(
'function_name',
$call_frame->getFullyQualifiedFunctionName()
);

$call_frame = new CallFrame(
'class_name',
'function_name',
Expand Down

0 comments on commit 1839292

Please sign in to comment.