Note that we have to wrap our widget in the MaterialApp Widget since we can't just render NotificationCard by itself. For readability, I like to abstract the creation of the widget into its own function.
Regardless, we can see that we have set some values of NotificationCard, which determines what the widget will display. We can now assert that the rendered widget has these values with the `expect()` function. While trivial, when more complex logic is added to a widget, this can become useful in ensuring our logic is correct.
Regardless, we can see that we have set some NotificationCard parameters, which determines what the widget will display. We can now assert that the rendered widget has these values with the `expect()` function. While trivial, when more complex logic is added to a widget, this can become useful in ensuring our logic is correct.