def test_decode_RETURN_CLASS(self): assert isinstance(SerializeTypeCase.decode(SerializeTypeCase.encode(self.c)), SerializeAbleClass)
def test_decode_RETURN_STR(self): assert SerializeTypeCase.decode(SerializeTypeCase.encode(self.s)) == self.s
def test_decode_RETURN_NONE(self): assert SerializeTypeCase.decode(None) == None