19 declare(strict_types=1);
    43     protected function setUp(): void
    50         $transformation = $this->basicGroup->int();
    52         $this->assertInstanceOf(IntegerTransformation::class, $transformation);
    57         $transformation = $this->basicGroup->string();
    59         $this->assertInstanceOf(StringTransformation::class, $transformation);
    64         $transformation = $this->basicGroup->float();
    66         $this->assertInstanceOf(FloatTransformation::class, $transformation);
    71         $transformation = $this->basicGroup->bool();
    73         $this->assertInstanceOf(BooleanTransformation::class, $transformation);
    80         $this->assertInstanceOf(ListTransformation::class, $transformation);
    87         $this->assertInstanceOf(TupleTransformation::class, $transformation);
    97         $this->assertInstanceOf(RecordTransformation::class, $transformation);
   104         $this->assertInstanceOf(DictionaryTransformation::class, $transformation);
   112         $transformation = $this->basicGroup->toNew(MyClass::class);
   114         $this->assertInstanceOf(NewObjectTransformation::class, $transformation);
   122         $transformation = $this->basicGroup->toNew([
new MyClass(), 
'myMethod']);
   124         $this->assertInstanceOf(NewMethodTransformation::class, $transformation);
   129         $this->expectNotToPerformAssertions();
   132             $transformation = $this->basicGroup->toNew([
new MyClass(), 
'myMethod', 
'hello']);
   142         $this->expectNotToPerformAssertions();
   145             $transformation = $this->basicGroup->toNew([
new MyClass()]);
   158         $transformation = $this->basicGroup->data(
'alphanumeric');
   160         $this->assertInstanceOf(NewMethodTransformation::class, $transformation);
   162         $result = $transformation->transform([
'hello']);
   164         $this->assertInstanceOf(Alphanumeric::class, $result);
   172         return [$this->string, $this->integer];
 testCreateDataTransformation()
 
testIsBooleanTransformationInstance()
 
testIsIntegerTransformationInstance()
 
testTupleOfTransformation()
 
testRecordOfTransformation()
 
testNewObjectTransformation()
 
testIsFloatTransformationInstance()
 
testNewMethodTransformationThrowsExceptionBecauseToManyParametersAreGiven()
 
testDictionaryOfTransformation()
 
testListOfTransformation()
 
testIsStringTransformationInstance()
 
testNewMethodTransformation()
 
testNewMethodTransformationThrowsExceptionBecauseToFewParametersAreGiven()