Campbell Ritchie wrote:Yes, it probably can, but why? Don't go trying to specify an implementation detail at such an early stage in the process.
Simon Ritchie wrote:. . . Can this be accomplished using streams?
Stephan van Hulst wrote:Well, since you can't return a List<String> without using some sort of format, how is it converted?
Junilu Lacar wrote:What code are you testing there though? Certainly not the mock object. Are you testing the way you are parsing the response?