mirror of
https://github.com/archtechx/enums.git
synced 2025-12-12 14:14:05 +00:00
9 lines
214 B
PHP
9 lines
214 B
PHP
<?php
|
|
|
|
it('can return an array of case values from a backed enum')
|
|
->expect(Status::values())
|
|
->toBe([0, 1]);
|
|
|
|
it('can returns an empty array from a pure enum')
|
|
->expect(Role::values())
|
|
->toBe([]);
|