/*  ===========================================================================
 *  Copyright © 2006-2007 Nokia Corporation.
 *  This material, including documentation and any related
 *  computer programs, is protected by copyright controlled by
 *  Nokia Corporation. All rights are reserved. Copying,
 *  including reproducing, storing, adapting or translating, any
 *  or all of this material requires the prior written consent of
 *  Nokia Corporation. This material also contains confidential
 *  information which may not be disclosed to others without the
 *  prior written consent of Nokia Corporation.
 * ============================================================================
 */


//GETLIST TESTCASES
	//GETLIST INPUT TYPE VALIDATION
[Test]
title GetListWrongContentTypeType
create tmsg_negitivecases foobar
//foobar CheckInputArgumentType service InterfcaeName Command Synchronousbit Callback varname vartype value Finish expectedvalue
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type String Inbox Finish 1002
delete foobar
[Endtest]

[Test]
title GetListWrongTypeofFilter
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox Filter Int 3 Finish 1002
delete foobar
[Endtest]

[Test]
title GetListWrongTypeofMessageId
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox Filter Map  MessageId String xyz End Finish 1002
delete foobar
[Endtest]

[Test]
title GetListWrongTypeofSenderList
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox Filter Map  SenderList String xyz End Finish 1002
delete foobar
[Endtest]

[Test]
title GetListWrongTypeofValueInSenderList
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox Filter Map  SenderList List Int 1234 End End Finish 1002
delete foobar
[Endtest]

[Test]
title GetListWrongTypeofMessageTypeList
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox Filter Map  MessageTypeList List Int 1234 End End Finish 1002
delete foobar
[Endtest]

[Test]
title GetListWrongTypeofValueInMessageTypeList
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox Filter Map  MessageTypeList String xyz End Finish 1002
delete foobar
[Endtest]

[Test]
title GetListWrongTypeofSubject
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox Filter Map Subject Int 5 End Finish 1002
delete foobar
[Endtest]

[Test]
title GetListWrongTypeofStartDate
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox Filter Map StartDate Int 5 End Finish 1002
delete foobar
[Endtest]

[Test]
title GetListWrongTypeofEndDate
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox Filter Map EndDate Int 7 End Finish 1002
delete foobar
[Endtest]

[Test]
title GetListWrongTypeofSort
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox SortOrder String wer Finish 1002
delete foobar
[Endtest]


[Test]
title GetListWrongTypeofKey
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox SortOrder Map Key Int 4 Order UnicodeString Asc End Finish 1002
delete foobar
[Endtest]

[Test]
title GetListWrongTypeofOrder
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox SortOrder Map Key UnicodeString Date Order String Dec End Finish 1002
delete foobar
[Endtest]


	//GETLIST INPUT VALUE VALIDATION, Boundary Conditions
[Test]
title GetListWrongContentTypeValue
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString xbox Finish 1000
delete foobar
[Endtest]

/*//No need to check this as at provider level we are not checking and returning some error code
[Test]
title GetListWrongValueofMessageIdNEGITIVE
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox Filter Map  MessageId Int -100 End Finish 1000
delete foobar
[Endtest]

[Test]
title GetListWrongValueofMessageIdVERYBIG
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox Filter Map  MessageId Int 123456789123 End Finish 1000
delete foobar
[Endtest]*/

[Test]
title GetListWrongValueofKey
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox SortOrder Map Key UnicodeString 4 Order UnicodeString Asc End Finish 1000
delete foobar
[Endtest]

[Test]
title GetListWrongValueofOrder
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox SortOrder Map Key UnicodeString Date Order UnicodeString DFE End Finish 1000
delete foobar
[Endtest]

[Test]
title GetListWrongValueofMessageTypeList
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox Filter Map  MessageTypeList List UnicodeString xyz End End Finish 1000
delete foobar
[Endtest]

/*
[Test]
title GetListWrongValueofSenderList
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox Filter Map  SenderList List UnicodeString +1234 UnicodeString 1234iiou End End Finish 1000
delete foobar
[Endtest]

 // This is not translated to nulltime got to check after 
[Test]
title GetListWrongValueofStartDateZeroes
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox Filter Map  StartDate Date 00000000:000000.000000 End Finish 1000
delete foobar
[Endtest]

[Test]
title GetListWrongValueofEndDateZeroes
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox Filter Map  EndDate Date 00000000:000000.000000 End Finish 1000
delete foobar
[Endtest]*/

/* PANIC USER 113 because it is invalid TTime object, at the user code level itself only... so no issue
[Test]
title GetListWrongValueofStartDateHIGH
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox Filter Map  StartDate Date 99999999:999999.999999 End Finish 1000
delete foobar
[Endtest]

[Test]
title GetListWrongValueofEndDateHIGH
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox Filter Map  EndDate Date 99999999:999999.999999 End Finish 1000
delete foobar
[Endtest]
*/

//SendMessage TestCases
	//SENDMESSAGE INPUT TYPE VALIDATION
[Test]
title SendMessageWrongTypeMessageType
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType Int 5 Finish 1002
delete foobar
[Endtest]

[Test]
title SendMessageWrongTypeTo
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To Int 4 Finish 1002
delete foobar
[Endtest]

[Test]
title SendMessageWrongTypeSubject
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 Subject Int 4 Finish 1002
delete foobar
[Endtest]

[Test]
title SendMessageWrongTypeBodyText
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 BodyText Int 4 Finish 1002
delete foobar
[Endtest]

[Test]
title SendMessageWrongTypeAttachment
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 Attachment Int 4 Finish 1002
delete foobar
[Endtest]

[Test]
title SendMessageWrongTypeMimeType
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 Attachment UnicodeString xyz MimeType Int 4 Finish 1002
delete foobar
[Endtest]

[Test]
title SendMessageWrongTypeMessageParam
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 MessageParam Int 4 Finish 1002
delete foobar
[Endtest]

[Test]
title SendMessageWrongTypeMPTo
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 MessageParam Map To Int 4 End Finish 1002
delete foobar
[Endtest]

[Test]
title SendMessageWrongTypeMPCC
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 MessageParam Map Cc Int 4 End Finish 1002
delete foobar
[Endtest]

[Test]
title SendMessageWrongTypeMPBcc
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 MessageParam Map Bcc Int 4 End Finish 1002
delete foobar
[Endtest]

[Test]
title SendMessageWrongTypeMPAttachmentList
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 MessageParam Map AttachmentList Int 4 End Finish 1002
delete foobar
[Endtest]

[Test]
title SendMessageWrongTypeMPTemplateId
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 MessageParam Map TemplateId String GoneCase End Finish 1002
delete foobar
[Endtest]

[Test]
title SendMessageWrongTypeMPLaunchEditor
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 MessageParam Map LaunchEditor Int 4 End Finish 1002
delete foobar
[Endtest]

[Test]
title SendMessageWrongTypeAttListFileName
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 MessageParam Map AttachmentList List Map FileName Int 4 End End End Finish 1002
delete foobar
[Endtest]


[Test]
title SendMessageWrongTypeMPAttListMimeType
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 MessageParam Map AttachmentList List Map FileName String venkiii MimeType Int 4 End End End Finish 1002
delete foobar
[Endtest]


	//SENDMESSAGE INPUT VALUE VALIDATION, Boundary Conditions
[Test]
title SendMessageWrongValueMessageType
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString XMS Finish 1000
delete foobar
[Endtest]

[Test]
title SendMessageWrongValueTo
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString +9199892eeded Finish 1000
delete foobar
[Endtest]

[Test]
title SendMessageWrongValueAttachment
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 Attachment UnicodeString 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 Finish 1000
delete foobar
[Endtest]

[Test]
title SendMessageWrongValueMimeType
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 Attachment UnicodeString c:\\data\\images\\logo.gifo MimeType UnicodeString 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 Finish 1000
delete foobar
[Endtest]

[Test]
title SendMessageWrongValueMPTo
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 MessageParam Map To List UnicodeString +91123428 UnicodeString +91998uiju End End Finish 1000
delete foobar
[Endtest]

[Test]
title SendMessageWrongValueMPCC
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 MessageParam Map Cc List UnicodeString +91123428 UnicodeString +91998uiju End End Finish 1000
delete foobar
[Endtest]

[Test]
title SendMessageWrongValueMPBcc
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 MessageParam Map Bcc List UnicodeString +91123428 UnicodeString +91998uiju End End Finish 1000
delete foobar
[Endtest]


[Test]
title SendMessageWrongValueAttListFileName
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 MessageParam Map AttachmentList List Map FileName UnicodeString 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 End End End Finish 1000
delete foobar
[Endtest]

[Test]
title SendMessageWrongValueMPAttListMimeType
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 MessageParam Map AttachmentList List Map FileName UnicodeString venkiii MimeType UnicodeString 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 End End End Finish 1000
delete foobar
[Endtest]





//RequestNotification TestCases
	//RequestNotification INPUT TYPE VALIDATION
[Test]
title RequestNotificationWrongTypeContentType
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging RegisterNotification 1 NOTNULL Type String NewMessage Finish 1002
delete foobar
[Endtest]

[Test]
title RequestNotificationMissingContentType
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging RegisterNotification 1 NOTNULL Finish 1003
delete foobar
[Endtest]

	//RequestNotification INPUT VALUE VALIDATION, Boundary Conditions
[Test]
title RequestNotificationWrongValueContentType
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging RegisterNotification 1 NOTNULL Type UnicodeString NewWrongMessage Finish 1000
delete foobar
[Endtest]




//CancelNotification TestCases
	//CancelNotification INPUT TYPE VALIDATION
[Test]
title CancelNotificationWrongTypeContentType
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging CancelNotification 0 NULL Type String NewMessage Finish 1002
delete foobar
[Endtest]

[Test]
title CancelNotificationMissingContentType
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging CancelNotification 0 NULL Finish 1003
delete foobar
[Endtest]

	//CancelNotification INPUT VALUE VALIDATION, Boundary Conditions
[Test]
title CancelNotificationWrongValueContentType
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging CancelNotification 0 NULL Type UnicodeString NewWrongMessage Finish 1000
delete foobar
[Endtest]





//ChangeMessageStatus TestCases
	//ChangeMessageStatus INPUT TYPE VALIDATION
[Test]
title ChangeMessageStatusWrongTypeMessageId
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging ChangeStatus 0 NULL MessageId String 12345 Finish 1002
delete foobar
[Endtest]

[Test]
title ChangeMessageStatusWrongTypeStatus
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging ChangeStatus 0 NULL MessageId Int 123 Status String Read Finish 1002
delete foobar
[Endtest]

[Test]
title ChangeMessageStatusMissingStatus
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging ChangeStatus 0 NULL MessageId Int 123 Finish 1003
delete foobar
[Endtest]

[Test]
title ChangeMessageStatusMissingMessageId
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging ChangeStatus 0 NULL Status UnicodeString Read Finish 1003
delete foobar
[Endtest]

	//ChangeMessageStatus INPUT VALUE VALIDATION, Boundary Conditions
[Test]
title ChangeMessageStatusWrongValueStatus
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging ChangeStatus 0 NULL MessageId Int 123 Status UnicodeString IRead Finish 1000
delete foobar
[Endtest]





//DeleteMessage TestCases
	//DeleteMessage INPUT TYPE VALIDATION
[Test]
title DeleteMessageStatusWrongTypeMessageId
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Delete 0 NULL MessageId String 12345 Finish 1002
delete foobar
[Endtest]

[Test]
title DeleteMessageStatusMissingMessageId
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Delete 0 NULL Finish 1003
delete foobar
[Endtest]






//Cancel TestCases
	//Cancel INPUT TYPE VALIDATION

	//Cancel INPUT VALUE VALIDATION, Boundary Conditions


	//General Test Cases
[Test]
title InvalidCmdValue
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GoGetList 0 NULL Type UnicodeString xbox Finish 1004
delete foobar
[Endtest]







//BUFFER OVERFLOW CHECKS
[Test]
title GetListBOContentType
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 Finish 1000
delete foobar
[Endtest]


[Test]
title GetListBOMessageTypeList
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox Filter Map  MessageTypeList List UnicodeString xyz1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 End End Finish 1000
delete foobar
[Endtest]


[Test]
title GetListBOValueofSenderList
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox Filter Map  SenderList List UnicodeString +12341234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 End End Finish 0
delete foobar
[Endtest]


[Test]
title GetListBOSubject
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging GetList 0 NULL Type UnicodeString Inbox Filter Map Subject UnicodeString 5+1234xyz1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 End Finish 0
delete foobar
[Endtest]


[Test]
title SendMessageBOMessageType
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString XMS5+1234xyz1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 Finish 1000
delete foobar
[Endtest]


[Test]
title SendMessageBOTo
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString +91998921234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 Finish 0
delete foobar
[Endtest]


[Test]
title SendMessageBOSubject
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString MMS To UnicodeString 9008032761 Subject UnicodeString +91998921234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 Finish 0
delete foobar
[Endtest]


[Test]
title SendMessageBOBodyText
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 BodyText UnicodeString +91998921234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 Finish 0
delete foobar
[Endtest]


[Test]
title SendMessageBOMPTo
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 MessageParam Map To List UnicodeString +91123428 UnicodeString +9199891998921234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 End End Finish 0
delete foobar
[Endtest]



[Test]
title SendMessageBOMPCC
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 MessageParam Map Cc List UnicodeString +91123428 UnicodeString +9199891998921234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 End End Finish 0
delete foobar
[Endtest]



[Test]
title SendMessageBOMPBcc
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging Send 0 NULL MessageType UnicodeString SMS To UnicodeString 9008032761 MessageParam Map Bcc List UnicodeString +91123428 UnicodeString +9199891998921234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 End End Finish 0
delete foobar
[Endtest]



[Test]
title CancelNotificationBOContentType
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging CancelNotification 0 NULL Type UnicodeString NewWrongMessage99891998921234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 Finish 1000
delete foobar
[Endtest]



[Test]
title RequestNotificationBOContentType
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging RegisterNotification 1 NOTNULL Type UnicodeString NewWrongMessage99891998921234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 Finish 1000
delete foobar
[Endtest]


[Test]
title ChangeMessageStatusBOStatus
create tmsg_negitivecases foobar
foobar CheckInputArgumentType Service.Messaging IMessaging ChangeStatus 0 NULL MessageId Int 123 Status UnicodeString Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890Read1234567890 Finish 1000
delete foobar
[Endtest]





