I have something as,
classB {
classA a = new classA();
...
}
classA {
...
}
I would like to write junit on classB. How to mock object a of classA?
I have something as,
classB {
classA a = new classA();
...
}
classA {
...
}
I would like to write junit on classB. How to mock object a of classA?