def METHOD_NAME(self):
    opt_fw = OptimizeFW(self.structure)
    self.assertEqual(
        SOCFW(magmom=1, structure=self.structure, parents=opt_fw).name,
        "Si-spin-orbit coupling",
    )
    soc_fw = SOCFW(magmom=1, prev_calc_dir="/")
    self.assertEqual(soc_fw.name, "unknown-spin-orbit coupling")
    self.assertEqual(soc_fw.tasks[0]["calc_dir"], "/")
    soc_fw = SOCFW(magmom=1, parents=opt_fw)
    self.assertEqual(soc_fw.name, "unknown-spin-orbit coupling")
    self.assertTrue(soc_fw.tasks[0]["calc_loc"])
    self.assertRaises(ValueError, SOCFW, magmom=1)