def CheckForCannotCreate(testCase, assertion): CheckForException(testCase, CheckForSuccess, assertion, AwaUnexpectedErrorException, AwaError.Response, AwaError.CannotCreate)
def CheckForNotDefinedWhenAddingValue(testCase, assertion): CheckForException(testCase, CheckForSuccess, assertion, AwaUnexpectedErrorException, AwaError.NotDefined)
def CheckForNotDefined(testCase, assertion): CheckForException(testCase, CheckForSuccess, assertion, AwaUnexpectedErrorException, AwaError.Response, AwaError.NotDefined)
def CheckForTypeMismatchWhenAddingValue(testCase, assertion): CheckForException(testCase, CheckForSuccess, assertion, AwaUnexpectedErrorException, AwaError.TypeMismatch)
def CheckForTypeMismatch(testCase, assertion): CheckForException(testCase, CheckForSuccess, assertion, AwaUnexpectedErrorException, AwaError.Response, AwaError.TypeMismatch)
def CheckForPathInvalid(testCase, assertion): CheckForException(testCase, CheckForSuccess, assertion, AwaUnexpectedErrorException, AwaError.PathInvalid)
def CheckForNullPointerException(testCase, assertion): CheckForException(testCase, CheckForSuccess, assertion, AwaNullPointerException, None)
def CheckForAlreadyDefined(testCase, assertion): CheckForException(testCase, CheckForSuccess, assertion, AwaUnexpectedErrorException, AwaError.AlreadyDefined)
def CheckForPathNotFound(testCase, assertion): CheckForException(testCase, CheckForSuccess, assertion, AwaUnexpectedErrorException, AwaError.Response, AwaError.PathNotFound)
def CheckForMethodNotAllowed(testCase, assertion): CheckForException(testCase, CheckForSuccess, assertion, AwaUnexpectedErrorException, AwaError.Response, AwaError.LWM2MError, AwaLWM2MError.MethodNotAllowed)