Plum\Plum\Converter\IntegerConverterTest::convertShouldConvertStringToInteger PHP Method

convertShouldConvertStringToInteger() public method

    public function convertShouldConvertStringToInteger()
    {
        $converter = new IntegerConverter();
        $this->assertSame(42, $converter->convert('42'));
        $this->assertSame(42, $converter->convert('42 houses'));
    }