/** * @test */ public function it_constructs_new_instance_from_string_representing_of_a_float() { $float = Float::fromString("10.1"); $this->assertInstanceOf('Prooph\\Processing\\Type\\Float', $float); $this->assertSame(10.1, $float->value()); }