I've written code with an IF statement. But all my statement currently does is output whether or not the text I'm expecting is correct or not. 

How can I change the implementation so that if the title isn't matching to what I expect the test stops and fails?

```
 String title = webDriver.Title;

 String expectedTitle = "Utilities from Go Compare";
 if (title.Contains(expectedTitle))
 {
     Console.WriteLine("Tile is matching with expected value");
 }
 else
 {
     Console.WriteLine("Tile is not matching");
 }

```