Skip to content

Commit 4c87286

Browse files
committed
Mock class
1 parent 0e890a2 commit 4c87286

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/mock/StreamContainer.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,9 @@ public function getStream(): Stream
2020
$factory = new StreamFactory();
2121
return $factory->createStream('This is a temporary test stream');
2222
}
23+
24+
public function getIdentity(): string
25+
{
26+
return 'test-stream-container';
27+
}
2328
}

0 commit comments

Comments
 (0)