Пример #1
0
 function assertEnumValuesEquals(array $expected, E $actual, $maxLength = PHP_INT_MAX)
 {
     $this->assertEquals($expected, $actual->take($maxLength)->toValues());
 }
Пример #2
0
 public static function assertEnumValuesEquals(array $expected, E $actual, $maxLength = PHP_INT_MAX)
 {
     self::assertEquals($expected, $actual->take($maxLength)->toValues()->toArrayDeep());
 }