def test_quantum_number_L_z_d_orb_is_None(self):
        # Setup
        Job = InitJob("test_data/JobDef_pcase.json")

        # Fake
        def fake_L_z_d_orb(*args):
            return -1

        Job.Electron.L_z_d_orb = fake_L_z_d_orb

        # Action
        L_z = Job.Electron.quantum_number_L_z_d_orb(Job)

        # Result
        assert L_z is None