When I opened the refrigerator to get some food, my dog Jasm…

When I opened the refrigerator to get some food, my dog Jasmine would come to the kitchen and I would give her a snack. After a while, every time I opened the refrigerator Jasmine would run to the kitchen. In this example, opening the refrigerator is an example of ______.