A method to mock a new instance in the class is using the powermockito. Powermockito has a function whenNew. This one can be used to solve this kind of problem.

The answer to this problem is very simple. Firste, you could try to refresh the web browser. If the problem continues, try to connect with another network. If the problem persist, is better to wait to another moment in which less people are connected.


Subscribe to Neuropsychology