def METHOD_NAME(self):
    result = self.cli('subset', '--target', '10%', '--session',
                      self.session, 'maven', str(self.test_files_dir.joinpath('java/test/src/java/').resolve()))
    self.assertEqual(result.exit_code, 0)
    payload = json.loads(gzip.decompress(responses.calls[0].request.body).decode())
    expected = self.load_json_from_file(self.test_files_dir.joinpath('subset_result.json'))
    self.assert_json_orderless_equal(expected, payload)