wood burning stoves
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 Building Microservices this week in the Design 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: 32508
    
214

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


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: mock object
 
It's not a secret anymore!