def METHOD_NAME(self, mock_augment):
    def mock_return_resources(args):
        return args
    mock_augment.side_effect = mock_return_resources
    p = self.load_policy({
        'name': 'test-assignments-by-role',
        'resource': 'azure.roleassignment',
        'filters': [
            {'type': 'resource-access',
             'relatedResource': 'azure.vm'}],
    })
    resources = p.run()
    self.assertTrue(len(resources) > 0)