function assertEnumValuesEquals(array $expected, E $actual, $maxLength = PHP_INT_MAX) { $this->assertEquals($expected, $actual->take($maxLength)->toValues()); }
public static function assertEnumValuesEquals(array $expected, E $actual, $maxLength = PHP_INT_MAX) { self::assertEquals($expected, $actual->take($maxLength)->toValues()->toArrayDeep()); }