mirror of
https://github.com/opdavies/gmail-filter-builder.git
synced 2025-09-04 04:35:33 +01:00
parent
db97fb8d60
commit
fbe1edf8f0
3 changed files with 18 additions and 3 deletions
|
@ -23,6 +23,13 @@ class AddressesTest extends TestCase
|
|||
'bar@example.com'
|
||||
], FakeAddresses::load());
|
||||
}
|
||||
|
||||
/** @test */
|
||||
public function throw_an_exception_an_address_file_does_not_exist() {
|
||||
$this->expectException(\RuntimeException::class);
|
||||
|
||||
Addresses::load('does-not-exist');
|
||||
}
|
||||
}
|
||||
|
||||
class FakeAddresses extends Addresses
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue