Features
Under construction. Please also reference the Frequently Asked Questions.
VirtualMock offers the following features
-
A very flexible API, which allows you to use your Mock Objects in whatever way you choose.
-
The ability to mock up calls to static methods without modifying the design of the code under test (such as making an Adapter, Wrapper, or Facade class with non-static wrapper methods)
-
The ability to mock up objects which are directly instantiated by the class under test without modifying the design of the code under test (such as using a factory instead of direct instantiation) .
-
The ability to mock up non-static calls to an object without using an interface or passing the object in as a parameter
-
The ability to mock up calls to final methods