Skip to content

RestLibTests

codefriar edited this page Oct 5, 2023 · 2 revisions

APIVERSION: 58

STATUS: ACTIVE

Methods

private static void testConstructorPositive()

ISTEST

Executes a positive test case of the Constructor. Expects the named credential to be set.

private static void testStaticMakeApiCallFullParamsPositive()

ISTEST

Note: we do not have a constructor test for the no param constructor. Because it's access modifier is protected we cannot use that constructor - the compiler throws an error noting the method is not visible

private static void testStaticMakeApiCallNoHeadersOrBodyParamsPositive()

ISTEST

private static void testStaticMakeApiCallNoHeadersOrBodyOrQueryParamsPositive()

ISTEST

private static void testGetWithPathAndQueryPositive()

ISTEST

Convenience, Instance Methods These 6 methods are not utilized by our API service class.

private static void testGetWithPathPositive()

ISTEST

Positive test case for convenience method needing only path and query params.

private static void testDelWithPathPositive()

ISTEST

private static void testDelWithPathAndQueryPositive()

ISTEST

private static void testPostWithPathAndBodyPositive()

ISTEST

private static void testPostWithPathQueryAndBodyPositive()

ISTEST

private static void testPutWithPathAndBodyPositive()

ISTEST

private static void testPutWithPathQueryAndBodyPositive()

ISTEST

private static void testPatchWithPathQueryAndBodyPositive()

ISTEST

private static void testPatchWithPathAndBodyPositive()

ISTEST

private static void testProtectedRestLibConstructorPositive()

ISTEST

private static void testEnsureStringEndsInSlashPositiveStartWithoutSlash()

ISTEST

Clone this wiki locally