Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
I have a class A , under class A , there is one object of Class B is created as private member of A. Now in some public functions of Class A, some functions of Class B are called . Now I want to make mock object of Class B to test Class A funcitonality . Condition is , we dont want to change Class A, so how to create mock objects of Class B ? how to test Class A??