public function getNumberFromString( $string )
    {
        preg_match( '/(?P<digit>\d+)/', $string, $result );
        Assertion::assertNotEmpty( $result['digit'], "Expected to find a number in '$string' found none" );
        return (int)$result['digit'];
    }