I guess I just don't like the format, because it doesn't make it at all clear what you're testing. It tests that `from_json` is called, but only as a side effect of other things.