EasyMock or Bean setters?
I am working on writing some JUnits for a given set of classes. Some of these classes have Dao's (Data Access Objects) that run various queries and return data (usually in the form of Beans).
I am new to EasyMock and it seems its a tool focused more on mocking out the actual Dao's and creating mock objects in their place.
So my question is this...
Would the best solution be to use EasyMock and create an entire set of test objects (hardcoded with static data for each Dao call), or would it be best to just manually setup my data via getters and setters per test case and not use EasyMock at all?
I appreciate your responses,