-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Denis Zhukovski edited this page Dec 7, 2022
·
2 revisions
Welcome to the ObjectToTest wiki!
The diagram shows an algorithm that an object uses to recreate itself with initiated internal state. The interesting thing is that an object can have the arguments which are reused in other objects. Such objects are called Shared Arguments.
Once an object needs to recreate itself it has to find proper constructor with arguments that will allow it to recreate it's internal state. The logic is recursive and called by the object's constructor arguments to as well.
The object does the analyses of it's fields and properties trying to find proper constructor for recreation operation.