'A nested representation is validated into a flat internal object.'

def test_nested_validate(self):

    serializer = self.Serializer(data=self.data)
    assert serializer.is_valid()
    assert (serializer.validated_data == {u'a': 1, u'b': 2, u'c': 3, u'd': 4})
