def METHOD_NAME(self):
    serialized_value = self.serializer.serialize(['foo', 1, [1]])
    assert len(serialized_value) == 1
    assert 'L' in serialized_value
    self.assertCountEqual(
        serialized_value['L'],
        [{'S': 'foo'}, {'N': '1'}, {'L': [{'N': '1'}]}],
    )