1. 4
  1.  

  2. 1

    Interesting Article. Although I don’t fully agree with the last part. It is true that testing against implementation details is pointless. However if two components have a known dependency on their public interfaces it might be useful to verify if the interface is invoked using mocks such as verifying the user registration is trying to send an email. Interpreting the content of the email might go too far in the sense of an implementation detail.