1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 11:34:03 +00:00

shouldHaveReceived

This commit is contained in:
Samuel Štancl 2019-09-20 17:57:52 +02:00
parent 9892c3afc7
commit bea6e4f5e9

View file

@ -28,6 +28,10 @@ class TenantClassTest extends TestCase
$this->assertSame('ddd', $tenant->data['ccc']);
$spy->shouldNotHaveReceived('get');
$this->assertSame(null, $tenant->dfuighdfuigfhdui);
$spy->shouldHaveReceived('get')->once();
Mockery::close();
}
}