aspose file tools*
The moose likes Testing and the fly likes mock object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "mock object" Watch "mock object" New topic
Author

mock object

Raj Ohadi
Ranch Hand

Joined: Jun 30, 2006
Posts: 316
Do




and


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

Joined: May 26, 2003
Posts: 30762
    
156

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