In short, yes.
Although it is a little more than that. It allows you to create model objects and their dependencies and gives you the ability to save these objects in your database or not, as well as create stub objects.
In addition, it becomes much more obvious what model objects you work with in your tests. Lamps, as a rule, hide this information, and you have no choice but to save these objects.
source
share