public class MobileMsgResponseMatchers extends Object
MobileMsgResponseMatchers class.
Constructor and Description |
---|
MobileMsgResponseMatchers() |
Modifier and Type | Method and Description |
---|---|
static MobileMsgResponseMatcher |
and(MobileMsgResponseMatcher... matchers)
and
|
static boolean |
isAMatch(String expected,
String actual)
isAMatch
|
static MobileMsgResponseMatcher |
isSms()
isSms
|
static MobileMsgResponseMatcher |
isUssd()
isUssd
|
static MobileMsgResponseMatcher |
or(MobileMsgResponseMatcher... matchers)
or
|
static MobileMsgResponseMatcher |
smsFrom(String originator)
smsFrom
|
static MobileMsgResponseMatcher |
smsFromRecipient()
smsFromRecipient
|
static MobileMsgResponseMatcher |
textMatches(String regex)
textMatches
|
static void |
tracef(String format,
Object... args)
tracef
|
static MobileMsgResponseMatcher |
ussdStatusIs(org.smslib.USSDSessionStatus status)
ussdStatusIs
|
public static MobileMsgResponseMatcher smsFrom(String originator)
smsFrom
originator
- a String
object.MobileMsgResponseMatcher
object.public static MobileMsgResponseMatcher smsFromRecipient()
smsFromRecipient
MobileMsgResponseMatcher
object.public static MobileMsgResponseMatcher and(MobileMsgResponseMatcher... matchers)
and
matchers
- a MobileMsgResponseMatcher
object.MobileMsgResponseMatcher
object.public static MobileMsgResponseMatcher or(MobileMsgResponseMatcher... matchers)
or
matchers
- a MobileMsgResponseMatcher
object.MobileMsgResponseMatcher
object.public static MobileMsgResponseMatcher textMatches(String regex)
textMatches
regex
- a String
object.MobileMsgResponseMatcher
object.public static MobileMsgResponseMatcher isSms()
isSms
MobileMsgResponseMatcher
object.public static MobileMsgResponseMatcher isUssd()
isUssd
MobileMsgResponseMatcher
object.public static MobileMsgResponseMatcher ussdStatusIs(org.smslib.USSDSessionStatus status)
ussdStatusIs
status
- a USSDSessionStatus
object.MobileMsgResponseMatcher
object.Copyright © 2015. All Rights Reserved.