How can I mock the cast operation.
I have an cast operation on a dependent object , which will cast to another dependent object like
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.