First the mice are made to be depressed by exposing them to constant sounds of birds screeching and other predators. Next some are given the intervention. The level of depression is then measured by putting the mice in a container of deep water from which there is no escape, and timing how long until the mouse gives up swimming. The mice are not left to drown but are fished out and killed in a presumably more-humane way (chronically depressed mice are not otherwise useful).
A second ethical issue with studies with mice is that occasionally the unfortunate phd student tasked with dispatching the mice will not have been taught any way to do so and will have to try to come up with something on the spot. This can be quite traumatic for both parties.