Click here to Skip to main content
15,881,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi ,
I want to test a static method which is invoking another static method from the same class. For example , we have class A and it has two static methods method1() and method2() both are static . Let's suppose method1() is getting invoked from method2(). How can I write a test case for this ?
I know , if method1() is from some other class ,we can prepare that class for test and our job is done.



Kind Regards
ASRAAR AHMAD
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900