This doesn't actually test that `from_json` is called. To do that, you need `from_json` to do something (create a python object, rather than just a list, dict, number or string, which is what json), and then to assert that that conversion is happening.