Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
With java reflection, we can stub functions in the runtime. The method can become entirely different method The method can return different values. For complete list of mocking features, you may want to check mockito, easymock, etc. Powermock is said to be able to do custom classloader and bytecode manipulation.