---
title: "Codeunit 132975 SharePoint Graph Test Library, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/132975-sharepoint-graph-test-library/points/
object: https://jonas-paprotka.de/ref/codeunit/132975-sharepoint-graph-test-library/
app: "System Application Test Library"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/132975-sharepoint-graph-test-library/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 132975 SharePoint Graph Test Library, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/132975-sharepoint-graph-test-library/points/

8 procedures and triggers with a step in src/System Application/Test Library/SharePoint/src/graph/SharePointGraphTestLibrary.Codeunit.al, in source order, read from the text, not from a run.

## SetMockResponse

[Line 25](https://jonas-paprotka.de/ref/codeunit/132975-sharepoint-graph-test-library/source/#L25).

- [27](https://jonas-paprotka.de/ref/codeunit/132975-sharepoint-graph-test-library/source/#L27) calls [Codeunit 132981 SharePoint Http Client Handler](https://jonas-paprotka.de/ref/codeunit/132981-sharepoint-http-client-handler/) `SetResponse`

## GetHttpRequestMessage

[Line 34](https://jonas-paprotka.de/ref/codeunit/132975-sharepoint-graph-test-library/source/#L34).

- [36](https://jonas-paprotka.de/ref/codeunit/132975-sharepoint-graph-test-library/source/#L36) calls [Codeunit 132981 SharePoint Http Client Handler](https://jonas-paprotka.de/ref/codeunit/132981-sharepoint-http-client-handler/) `GetHttpRequestMessage`

## ExpectRequestToFailWithError

[Line 45](https://jonas-paprotka.de/ref/codeunit/132975-sharepoint-graph-test-library/source/#L45).

- [47](https://jonas-paprotka.de/ref/codeunit/132975-sharepoint-graph-test-library/source/#L47) calls [Codeunit 132981 SharePoint Http Client Handler](https://jonas-paprotka.de/ref/codeunit/132981-sharepoint-http-client-handler/) `ExpectSendToFailWithError`

## AddMockResponse

[Line 60](https://jonas-paprotka.de/ref/codeunit/132975-sharepoint-graph-test-library/source/#L60).

- [62](https://jonas-paprotka.de/ref/codeunit/132975-sharepoint-graph-test-library/source/#L62) calls [Codeunit 132981 SharePoint Http Client Handler](https://jonas-paprotka.de/ref/codeunit/132981-sharepoint-http-client-handler/) `AddResponse`

## AddMockResponse

[Line 74](https://jonas-paprotka.de/ref/codeunit/132975-sharepoint-graph-test-library/source/#L74).

- [76](https://jonas-paprotka.de/ref/codeunit/132975-sharepoint-graph-test-library/source/#L76) calls [Codeunit 132981 SharePoint Http Client Handler](https://jonas-paprotka.de/ref/codeunit/132981-sharepoint-http-client-handler/) `AddResponse`

## GetMockHttpRequestUri

[Line 84](https://jonas-paprotka.de/ref/codeunit/132975-sharepoint-graph-test-library/source/#L84).

- [86](https://jonas-paprotka.de/ref/codeunit/132975-sharepoint-graph-test-library/source/#L86) calls [Codeunit 132981 SharePoint Http Client Handler](https://jonas-paprotka.de/ref/codeunit/132981-sharepoint-http-client-handler/) `GetHttpRequestUri`

## GetMockHttpRequestMethod

[Line 94](https://jonas-paprotka.de/ref/codeunit/132975-sharepoint-graph-test-library/source/#L94).

- [96](https://jonas-paprotka.de/ref/codeunit/132975-sharepoint-graph-test-library/source/#L96) calls [Codeunit 132981 SharePoint Http Client Handler](https://jonas-paprotka.de/ref/codeunit/132981-sharepoint-http-client-handler/) `GetHttpRequestMethod`

## GetMockRequestCount

[Line 103](https://jonas-paprotka.de/ref/codeunit/132975-sharepoint-graph-test-library/source/#L103).

- [105](https://jonas-paprotka.de/ref/codeunit/132975-sharepoint-graph-test-library/source/#L105) calls [Codeunit 132981 SharePoint Http Client Handler](https://jonas-paprotka.de/ref/codeunit/132981-sharepoint-http-client-handler/) `GetRequestCount`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
