aspose file tools
The moose likes Testing and the fly likes mock object Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Reply Bookmark "mock object" Watch "mock object" New topic
Author

mock object

Raj Ohadi
Ranch Hand

Joined: Jun 30, 2006
Posts: 314
Do




and


Doing the exact same thing of instantiating an instance of MyClass?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26218
    
  66

Well no. The later creates the real object. The former does not create the real object but instead creates a mock.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: mock object
 
Similar Threads
using this in a class itself
GC question, OCP book Exam 2 Question 1
Calling class methods by class object using Reflection
From main method to contractor, it is possible?
Why this private member can be seen?