final class TheSameInstanceAsPhrase 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
- TheSameInstanceAsPhrase
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TheSameInstanceAsPhrase()
Value Members
-
def
apply(anyRef: AnyRef): ResultOfTheSameInstanceAsApplication
This method enables the following syntax:
This method enables the following syntax:
oneString should not be theSameInstanceAs (anotherString) ^
-
def
toString(): String
Overrides to return pretty toString.
Overrides to return pretty toString.
- returns
"theSameInstanceAs"
- Definition Classes
- TheSameInstanceAsPhrase → AnyRef → Any