I have a class let's say Person. The ORM layer has generated based on the sql structure the corresponding objects. The class person has a method: Get($id). In the Get method, the object Person is called and the field from the table are retrieved.
I basically want to make the following unit test: create a new person and check if the Get method is returning the right information.
Я также бродил, увидев ваши ответы, если моделирование ответа ORM без фактического создания новой базы данных не подходит?