def METHOD_NAME(self):
    dce, rpctransport = self.connect()
    request = even.ElfrRegisterEventSourceW()
    request['UNCServerName'] = NULL
    request['ModuleName'] = 'Security'
    request['RegModuleName'] = ''
    request['MajorVersion'] = 1
    request['MinorVersion'] = 1
    with assertRaisesRegex(self, DCERPCException, "STATUS_ACCESS_DENIED"):
        dce.request(request)