Let’s imagine that we are trying to test a very simple component. The goal of this component is to show a button, and whenever a user clicks on that button, we want to make a network request to go and fetch some data, maybe get a list of users, and then show those users on the screen.