KeyWord

final class KeyWord

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(expectedKey: Any): ResultOfKeyWordApplication

This method enables the following syntax:

This method enables the following syntax:

map should not contain key (10)
                          ^
override def toString: String

Overrides to return pretty toString.

Overrides to return pretty toString.

Returns:

"key"

Definition Classes
Any