function it_should_change_value_of_element_based_on_an_argument_of_type_float(NodeInterface $node) { $value = 0.5; $node->setText($value)->shouldBeCalled(); $this->setValue($value); }