ScalaTest 1.0
|
|
org/scalatest/matchers/Matchers.scala
]
final
class
TheSameInstanceAsPhrase
extends
AnyRefShouldMatchers
or MustMatchers
for an overview of
the matchers DSL.Method Summary | |
def
|
apply
(anyRef : AnyRef) : ResultOfTheSameInstanceAsApplication
This method enables the following syntax:
oneString should not be theSameInstanceAs (anotherString) ^ |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
def
apply(anyRef : AnyRef) : ResultOfTheSameInstanceAsApplication
oneString should not be theSameInstanceAs (anotherString) ^
ScalaTest 1.0
|
|