1
0
Fork 0
mirror of https://github.com/archtechx/enums.git synced 2025-12-12 20:24:04 +00:00

add options() method, resolve #2

This commit is contained in:
Samuel Štancl 2022-02-20 21:50:53 +01:00
parent 7c02bbaa73
commit e01edd128f
4 changed files with 34 additions and 9 deletions

View file

@ -0,0 +1,7 @@
<?php
it('can return an associative array of options')
->expect(Status::options())->toBe([
'PENDING' => 0,
'DONE' => 1,
]);