Fix for Content negotiation should fallback to the first formatter that can write the type #1033

counting the number of times the function is called seems like sort of a roundabout way of verifying that it does what you want... what would be wrong with just making a mock with expectations?