def test_getAuthorSlackUsername(self):
    self.assertEqual('', self.phab.getAuthorSlackUsername({}))
    self.assertEqual('', self.phab.getAuthorSlackUsername({'fields': {}}))
    self.assertEqual('test-slack-name', self.phab.getAuthorSlackUsername({'fields': {'custom.abc:slack-username': 'test-slack-name', 'username': 'test-username'}}))
    self.assertEqual('test-username', self.phab.getAuthorSlackUsername({'fields': {'username': 'test-username'}}))
def test_getAuthorSlackUsername(self):
    self.assertEqual(, self.phab.getAuthorSlackUsername({}))
    self.assertEqual(, self.phab.getAuthorSlackUsername({'fields': {}}))
    self.assertEqual('test-slack-name', self.phab.getAuthorSlackUsername({'fields': {'custom.abc:slack-username': 'test-slack-name', 'username': 'test-username'}}))
    self.assertEqual('test-username', self.phab.getAuthorSlackUsername({'fields': {'username': 'test-username'}}))