'\'default="something"\' should be used if object attribute is missing from input.'

def test_default_used_for_object(self):

    instance = MockObject(no_default=u'abc')
    serializer = self.Serializer(instance)
    assert (serializer.data == {u'has_default': u'x', u'has_default_callable': u'y', u'no_default': u'abc'})
