To test this in animals, an individual is trained to anticipate that stimulus A, e.g. a 20 Hz tone, precedes a positive event, e.g. highly desired food is delivered when a lever is pressed by the animal. The same individual is trained to anticipate that stimulus B, e.g. a 10 Hz tone, precedes a negative event, e.g. bland food is delivered when the animal presses a lever. The animal is then tested by being played an intermediate stimulus C, e.g. a 15 Hz tone, and observing whether the animal presses the lever associated with the positive or negative reward, thereby indicating whether the animal is in a positive or negative mood. This might be influenced by, for example, the type of housing the animal is kept in.