Do I need to pass an object just to satisfy the method signature?
→ Use a Dummy
Do I need to simulate return values (e.g., from a repository)?
→ Use a Stub
Do I need to simulate real logic or store data?
→ Use a Fake
Subscribe to:
Post Comments (Atom)
Element of a good table (Ref: Database design mere mortals by Michael J. Hernandez)
Elements of the Ideal Table: It represents a single subject, which can be an object or event that reduces the risk of potential data integ...
-
If any event fired on a DOM element it will also fired on all of its parent element which is called the event bubbling. So, the element eve...
-
Lets see a practical example- POJO: public class Student{ private String firstName; private String lastName; public Student(String firstName...
-
Constructor is the blueprint to create object .Here person is the constructor from which we can create objects. jane,mark and john are the...
No comments:
Post a Comment