public function convertFromReturnsErrorIfGivenArrayCantBeConverted() { $error = $this->converter->convertFrom(['date' => '1980-12-13'], 'DateTime'); $this->assertInstanceOf(FlowError::class, $error); }