mock now records interaction count for asserting dependencies being called