|
-
EasyMock - How to mock the cast operation
How can I mock the cast operation.
I have an cast operation on a dependent object , which will cast to another dependent object like
SqlMapClient sqlMapClient;
SqlMapClientImpl sqlMapClientImpl = (SqlMapClientImpl) sqlMapClient
I' mocking both the dependent clesses i.e SqlMapClient and SqlMapClientImpl .But I need to know how to mock cast using EasyMock.
Any help would be appreciated.
Similar Threads
-
By kslchiang in forum ASP.NET
Replies: 5
Last Post: 06-28-2008, 12:58 PM
-
Replies: 6
Last Post: 09-15-2005, 01:49 PM
-
By Sunil Budhrani in forum VB Classic
Replies: 4
Last Post: 07-09-2000, 02:11 PM
-
By Sunil Budhrani in forum VB Classic
Replies: 0
Last Post: 07-07-2000, 09:54 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks