Hi Andreas,,

sorry my fault. I meant the HashSet but obviously this would not help as we then would have to mock the bundle.equals method I think.

So the more important thing would be to replace the Bundle object with just its id. As obviously we would not need to mock Longs but we currently have to mock the Bundle objects. So in that case I think it would not matter much if we use TreeSet or HashSet.

But I am not sure if this is easy to do or would have some other problems.

Christian

On 09/28/2012 11:45 AM, Andreas Pieber wrote:
Ok, now I get you. You want to use a hash map instead of an treeset (it was
a hashset(!)) temporary. But I'm not quite sure how this will help in
testing? Neither by storing the id in a set nor in a hash map? Please
explain.

Kind regards,
Andreas
On Sep 28, 2012 11:31 AM, "Christian Schneider" <ch...@die-schneider.net>
wrote:



Reply via email to