How To Test A Method That Does Not Return Anything Junit