Class A: Class being tested. Class A extends class B and overrides its method common().
i.e.
class B {
fun common() {}
}
class A : B {
override fun common() {
if(x) {
doSomething()
} else
super.common() }
}
Now if you are testing class A’s common() method, how will you verify that it is calling super.common()
from within?