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
- Matchers.scala
- Alphabetic
- By Inheritance
- ResultOfBeWordForAny
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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]): AssertionThis 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]): AssertionThis method enables the following syntax: This method enables the following syntax: fileMock must be a ('file) ^
-    def a(aMatcher: AMatcher[T]): AssertionThis 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]): AssertionThis 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]): AssertionThis method enables the following syntax: This method enables the following syntax: fruit must be an ('orange) ^
-    def an(anMatcher: AnMatcher[T]): AssertionThis 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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
 
-    def definedAt[U](right: U)(implicit ev: <:<[T, PartialFunction[U, _]]): AssertionThis 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: AnyRef): Boolean- Definition Classes
- AnyRef → Any
 
-    def finalize(): Unit- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
 
-   final  def getClass(): Class[_ <: AnyRef]- 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]): AssertionThis method enables the following syntax: This method enables the following syntax: result must be theSameInstanceAs anotherObject ^
-    def toString(): StringOverrides 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(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long, arg1: Int): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()