From: mark m. <ma...@et...> - 2002-05-22 21:25:29
|
Hello all, I am relatively new to the world of Mock Objects and have come across your implementation. I found a good reason to use the MockAttributes and MockAttribute classes and found that the implementations are a bit limiting. For example MockAttributes' get(String name) method does not use the name parameter at all and returns the first item found in an ArrayList. It also removes that item from ArrayList. I was wondering if this limited implementation was intended (based on some Mock Object Philosophy that I am unaware of) or was just choosen because it got the job done quickly. If it was the latter, I think I might be interested in providing patches if people would find them useful. thanks in advance... mark |