Another way would be to have the test performa  user action which in this case would be a click event. We can assert that the url returned is for the EventDetail page instead of calling the EventDetail page directly.