def METHOD_NAME(self):
    stats = RasterStats(np.array([1, 2]), np.array([3, 4]))
    with get_tmp_dir() as tmp_dir:
        stats_uri = join(tmp_dir, 'stats.json')
        stats.save(stats_uri)
        tf = StatsTransformer.from_stats_json(stats_uri)
        np.testing.assert_array_equal(tf.means, np.array([1, 2]))
        np.testing.assert_array_equal(tf.stds, np.array([3, 4]))