TheSameInstanceAsPhrase

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(anyRef: AnyRef): ResultOfTheSameInstanceAsApplication

This method enables the following syntax:

This method enables the following syntax:

oneString should not be theSameInstanceAs (anotherString)
                                         ^
override def toString: String

Overrides to return pretty toString.

Overrides to return pretty toString.

Returns:

"theSameInstanceAs"

Definition Classes
Any