def METHOD_NAME(self):
    test_path = Path("test", "example_test.rb")
    responses.replace(responses.POST,
                      "{}/intake/organizations/{}/workspaces/{}/subset/456/slice".format(get_base_url(),
                                                                                         self.organization,
                                                                                         self.workspace),
                      json={'testPaths': [[{'name': str(test_path)}]],
                            'rest': [],
                            'subsettingId': 123},
                      status=200)
    rest = tempfile.NamedTemporaryFile(delete=False)
    result = self.cli('split-subset', '--subset-id', 'subset/456', '--base', str(self.test_files_dir),
                      '--bin', '2/2', '--rest', rest.name, 'minitest')
    self.assertEqual(result.exit_code, 0)
    output = Path(self.test_files_dir, "test", "example_test.rb")
    self.assertEqual(str(output), result.output.rstrip("\n"))
    self.assertEqual(rest.read().decode().rstrip("\n"), "")
    rest.close()
    os.unlink(rest.name)