class
MustExpectable
[T]
extends Expectable[T]
Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
def
applyMatcher
[S >: T]
(m: ⇒ Matcher[S]): MatchResult[S]
-
def
asInstanceOf
[T0]
: T0
-
def
clone
(): AnyRef
-
def
d
[T]
(value: ⇒ T): String
-
def
dUnquoted
[T]
(value: T): String
-
def
description
: String
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
-
def
finalize
(): Unit
-
def
getClass
(): java.lang.Class[_]
-
def
hashCode
(): Int
-
def
isInstanceOf
[T0]
: Boolean
-
def
map
[S]
(other: S): Expectable[S]
-
def
map
[S]
(f: (T) ⇒ S): Expectable[S]
-
-
def
mustEqual
(other: ⇒ Any): MatchResult[Any]
-
def
mustNotEqual
(other: ⇒ Any): MatchResult[Any]
-
def
must_!=
(other: ⇒ Any): MatchResult[Any]
-
def
must_==
(other: ⇒ Any): MatchResult[Any]
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
def
optionalDescription
: Option[(String) ⇒ String]
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
toString
(): String
-
lazy val
value
: T
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
This kind of expectable can be followed by the verb must to apply a matcher:
1 must beEqualTo(1)For convenience, several mustMatcher methods have also been defined as shortcuts to equivalent:
a must matcher