def METHOD_NAME(self):
    """Testing spin decorator."""
    spinor_deco = ideco.SpinDecorator("spinor")
    self.assert_msonable(spinor_deco)
    print(spinor_deco)
    new_inp = spinor_deco(self.si_ebands)
    print(new_inp)
    # kptopt is set to 4 if non-collinear magnetism and kptopt == 3 is not specified.
    for dt in new_inp:
        assert dt["nsppol"] == 1 and dt["nspinor"] == 2 and dt["kptopt"] == 4
    #self.validate_inp(new_inp)
    # kptopt should not be changes if it's set to 3 and non-collinear magnetism
    inp_with_kpt3 = self.si_ebands.deepcopy()
    inp_with_kpt3.kptopt = 3
    # FIXME: Here there's a bug because get should check the global variables!
    #for dt in spinor_deco(inp_with_kpt3):
    #    assert dt["nsppol"] == 1 and dt["nspinor"] == 2 and dt["kptopt"] == 3