/** * @test * @expectedException \Prooph\Done\Process\Type\Exception\InvalidTypeException * @dataProvider provideInvalidTypes */ public function it_can_not_be_initialized_with_invalid_types($value) { Unknown::fromNativeValue($value); }
/** * @param string $valueString * @return Type */ public static function fromString($valueString) { return Unknown::fromNativeValue(json_decode($valueString, true)); }