How do I pass a url from a server in java

-1

I'm doing testing on my college project, and I have a following problem. I create an object and I pass all its data by the setter and the constructor. When I call Service with the save method, it returns Null and I can not tell if it is working.

I thought of the solution of finding a way to pass the server URL in the TEST class, I wonder if anyone can help me solve this problem.?

    
asked by anonymous 27.08.2016 / 22:29

1 answer

0

Ola @ rodrigo.oliveira,

use the Spring MVC Test Framework I believe it supports what it needs.

    
28.08.2016 / 01:43