We should have unit tests for all `DeveloperError` exceptions.  Kinda paper-pushy, I know.

When I write them I first comment out the `expect...toThrow`, and run it to make sure the right exception is thrown, then I add the `expect...toThrow`.