19 declare(strict_types=1);
    32     protected function setUp(): void
    39         $transformedValue = $this->transformation->transform(
'hello');
    41         $this->assertEquals(
'hello', $transformedValue);
    46         $this->expectNotToPerformAssertions();
    49             $transformedValue = $this->transformation->transform(200);
    59         $this->expectNotToPerformAssertions();
    62             $transformedValue = $this->transformation->transform(-200);
    67         $this->assertEquals(
'-200', $transformedValue);
    72         $this->expectNotToPerformAssertions();
    75             $transformedValue = $this->transformation->transform(0);
    85         $this->expectNotToPerformAssertions();
    87         $this->expectNotToPerformAssertions();
    90             $transformedValue = $this->transformation->transform(10.5);
   100         $this->expectNotToPerformAssertions();
   103             $transformedValue = $this->transformation->transform(
true);
   113         $this->expectNotToPerformAssertions();
   116             $transformedValue = $this->transformation->transform(
false);
   126         $resultObject = 
new Result\Ok(
'hello');
   128         $transformedObject = $this->transformation->applyTo($resultObject);
   130         $this->assertEquals(
'hello', $transformedObject->value());
   135         $resultObject = 
new Result\Ok(200);
   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(0);
   155         $transformedObject = $this->transformation->applyTo($resultObject);
   157         $this->assertTrue($transformedObject->isError());
   162         $resultObject = 
new Result\Ok(10.5);
   164         $transformedObject = $this->transformation->applyTo($resultObject);
   166         $this->assertTrue($transformedObject->isError());
   171         $resultObject = 
new Result\Ok(
true);
   173         $transformedObject = $this->transformation->applyTo($resultObject);
   175         $this->assertTrue($transformedObject->isError());