class ResultOfBeWordForAny[T] extends AnyRef
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of
the matchers DSL.
- Source
- MustMatchers.scala
- Alphabetic
- By Inheritance
- ResultOfBeWordForAny
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ResultOfBeWordForAny(left: T, mustBeTrue: Boolean, prettifier: Prettifier, pos: Position)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
a(bePropertyMatcher: BePropertyMatcher[T])(implicit ev: <:<[T, AnyRef]): Assertion
This method enables the following syntax, where
badBookis, for example, of typeBookandgoodReadrefers to aBePropertyMatcher[Book]:This method enables the following syntax, where
badBookis, for example, of typeBookandgoodReadrefers to aBePropertyMatcher[Book]:badBook must be a (goodRead) ^ -
def
a(symbol: Symbol)(implicit toAnyRef: <:<[T, AnyRef]): Assertion
This method enables the following syntax:
This method enables the following syntax:
fileMock must be a ('file) ^ -
def
a(aMatcher: AMatcher[T]): Assertion
This method enables the following syntax (positiveNumber is a
AMatcher):This method enables the following syntax (positiveNumber is a
AMatcher):1 must be a positiveNumber ^ -
def
an(beTrueMatcher: BePropertyMatcher[T])(implicit ev: <:<[T, AnyRef]): Assertion
This method enables the following syntax, where
badBookis, for example, of typeBookandexcellentReadrefers to aBePropertyMatcher[Book]:This method enables the following syntax, where
badBookis, for example, of typeBookandexcellentReadrefers to aBePropertyMatcher[Book]:book must be an (excellentRead) ^ -
def
an(symbol: Symbol)(implicit toAnyRef: <:<[T, AnyRef]): Assertion
This method enables the following syntax:
This method enables the following syntax:
fruit must be an ('orange) ^ -
def
an(anMatcher: AnMatcher[T]): Assertion
This method enables the following syntax (positiveNumber is a
AnMatcher):This method enables the following syntax (positiveNumber is a
AnMatcher):1 must be an oddNumber ^ -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
definedAt[U](right: U)(implicit ev: <:<[T, PartialFunction[U, _]]): Assertion
This method enables the following syntax, where
fractionis, for example, of typePartialFunction:This method enables the following syntax, where
fractionis, for example, of typePartialFunction:fraction must be definedAt (6) ^ -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
theSameInstanceAs(right: AnyRef)(implicit toAnyRef: <:<[T, AnyRef]): Assertion
This method enables the following syntax:
This method enables the following syntax:
result must be theSameInstanceAs anotherObject ^ -
def
toString(): String
Overrides to return pretty toString.
Overrides to return pretty toString.
- returns
"ResultOfBeWordForAny([left], [mustBeTrue])"
- Definition Classes
- ResultOfBeWordForAny → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )