/** * @return string */ protected function getRootNamespace() { $rootClassReflection = new \ReflectionClass(FloatObject::getClass()); return $rootClassReflection->getNamespaceName(); }
/** * @test */ public function I_can_create_it_same_way_as_using_to_float_tool() { $this->I_can_use_it_same_way_as_using('toFloat', FloatObject::getClass()); }
/** * @test */ public function I_can_use_it_same_way_as_using_number_object() { $this->I_can_use_it_same_way_as_using('toFloat', FloatObject::getClass()); $this->I_can_use_it_same_way_as_using('toPositiveFloat', PositiveFloatObject::getClass()); $this->I_can_use_it_same_way_as_using('toNegativeFloat', NegativeFloatObject::getClass()); }