19 declare(strict_types=1);
37 #[DataProvider('TupleTransformationDataProvider')] 46 $transformedValue = $transformation->transform($originVal);
47 $this->assertIsArray($transformedValue);
48 $this->assertEquals($expectedVal, $transformedValue);
54 #[DataProvider('TupleFailingTransformationDataProvider')] 57 $this->expectNotToPerformAssertions();
66 $result = $transformation->transform($failingVal);
76 #[DataProvider('TupleTooManyValuesDataProvider')] 79 $this->expectNotToPerformAssertions();
88 $result = $transformation->transform($tooManyValues);
98 'too_many_values' => [[1,2,3]]
105 'incorrect_tuple' => [[1, 2]]
112 'array_test01' => [[1, 2], [1, 2]]