'L{postApplication} should change the UID and GID to the values
specified as user and group names by the configuration after running
L{service.IService.privilegedStartService} and before running
L{service.IService.startService}.'

def test_applicationStartsWithConfiguredNameIDs(self):

    user = 'foo'
    uid = 1234
    group = 'bar'
    gid = 4321
    patchUserDatabase(self.patch, user, uid, group, gid)
    self._applicationStartsWithConfiguredID(['--uid', user, '--gid', group], uid, gid)
