AWord

final class AWord

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(symbol: Symbol): ResultOfAWordToSymbolApplication

This method enables the following syntax:

This method enables the following syntax:

badBook should not be a ('goodRead)
                       ^
def apply[T](beTrueMatcher: BePropertyMatcher[T]): ResultOfAWordToBePropertyMatcherApplication[T]

This method enables the following syntax, where, for example, badBook is of type Book and goodRead is a BePropertyMatcher[Book]:

This method enables the following syntax, where, for example, badBook is of type Book and goodRead is a BePropertyMatcher[Book]:

badBook should not be a (goodRead)
                       ^
def apply[T](aMatcher: AMatcher[T]): ResultOfAWordToAMatcherApplication[T]

This method enables the following syntax, where, positiveNumber is an AMatcher[Book]:

This method enables the following syntax, where, positiveNumber is an AMatcher[Book]:

result should not be a (positiveNumber)
                      ^
override def toString: String

Overrides to return pretty toString.

Overrides to return pretty toString.

Returns:

"a"

Definition Classes
Any