'Test merge'

def testMerge(self):

    assertEqual = self.assertEqual
    assertNotEqual = self.assertNotEqual
    assertTrue = self.assertTrue
    assertFalse = self.assertFalse
    success = self.resource.merge(self.id1, self.id2)
    assertTrue(success)
    (person1, person2) = self.get_records()
    assertNotEqual(person1, None)
    assertNotEqual(person2, None)
    assertFalse(person1.deleted)
    assertTrue(person2.deleted)
    assertEqual(str(self.id1), str(person2.deleted_rb))
    assertEqual(person1.first_name, 'Test')
    assertEqual(person1.last_name, 'Person')
    assertEqual(person2.first_name, 'Test')
    assertEqual(person2.last_name, 'Person')
