@Arshad What happens if the URL never contains "example"? The Assert is never reached... so why even have it? Also, you have .assertTrue() but your assert comment is negative which makes no sense... it contradicts the assert.
Assert
.assertTrue()