Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

Commit dd6125e

Browse files
committed
Add new test stub
1 parent 10568cc commit dd6125e

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php
2+
3+
namespace Spinen\MailAssertions\Stubs;
4+
5+
use Spinen\MailAssertions\MailTracking;
6+
use Spinen\MailAssertions\TestCase;
7+
8+
/**
9+
* Class MailTrackingStub
10+
*
11+
* @package Spinen\MailAssertions\Stubs
12+
*/
13+
class OldMailTrackingStub extends TestCase
14+
{
15+
use MailTracking;
16+
17+
/**
18+
* Public method in the stub to expose the protected email collection
19+
*
20+
* This is only needed in the tests to allow access to the raw collection of messages.
21+
*
22+
* @return array
23+
*/
24+
public function exposeMessage() {
25+
return $this->emails;
26+
}
27+
}

0 commit comments

Comments
 (0)