'Check the values passed in kwargs match the values of the trunk'

def _assert_trunk_attrs(self, trunk, **kwargs):

    for k in trunk.fields:
        if (k in kwargs):
            self.assertEqual(kwargs[k], trunk[k])
