We start by adding tests for urlForText() method that is the one that decides whether some text typed in the URL bar should be considered as a valid URL and thus visited, or as search terms in which case it returns the URL for the user selected search engine.
We start by adding tests for urlForText() method that is the one that decides whether some text typed in the URL bar should be considered as a valid URL and thus visited, or as search terms in which case it returns the URL for the user selected search engine.