19 declare(strict_types=1);
    32     protected function setUp(): void
    39         $this->expectNotToPerformAssertions();
    42             $transformedValue = $this->transformation->transform(200);
    51         $this->expectNotToPerformAssertions();
    54             $transformedValue = $this->transformation->transform(-200);
    63         $this->expectNotToPerformAssertions();
    66             $transformedValue = $this->transformation->transform(0);
    75         $this->expectNotToPerformAssertions();
    78             $transformedValue = $this->transformation->transform(
'hello');
    87         $this->expectNotToPerformAssertions();
    90             $transformedValue = $this->transformation->transform(10.5);
    99         $this->expectNotToPerformAssertions();
   102             $transformedValue = $this->transformation->transform(-10.5);
   111         $this->expectNotToPerformAssertions();
   114             $transformedValue = $this->transformation->transform(0.0);
   123         $transformedValue = $this->transformation->transform(
true);
   124         $this->assertTrue($transformedValue);
   129         $transformedValue = $this->transformation->transform(
false);
   130         $this->assertFalse($transformedValue);
   135         $resultObject = 
new Result\Ok(
'hello');
   137         $transformedObject = $this->transformation->applyTo($resultObject);
   139         $this->assertTrue($transformedObject->isError());
   144         $resultObject = 
new Result\Ok(200);
   146         $transformedObject = $this->transformation->applyTo($resultObject);
   148         $this->assertTrue($transformedObject->isError());
   153         $resultObject = 
new Result\Ok(-200);
   155         $transformedObject = $this->transformation->applyTo($resultObject);
   157         $this->assertTrue($transformedObject->isError());
   162         $resultObject = 
new Result\Ok(0);
   164         $transformedObject = $this->transformation->applyTo($resultObject);
   166         $this->assertTrue($transformedObject->isError());
   171         $resultObject = 
new Result\Ok(10.5);
   173         $transformedObject = $this->transformation->applyTo($resultObject);
   175         $this->assertTrue($transformedObject->isError());
   180         $resultObject = 
new Result\Ok(
true);
   182         $transformedObject = $this->transformation->applyTo($resultObject);
   184         $this->assertTrue($transformedObject->value());