This method enables the following syntax:
This method enables the following syntax:
xs will contain allElementsOf (1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs will contain allOf (1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs will contain atLeastOneElementOf List(1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs will contain atLeastOneOf (1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs will contain atMostOneElementOf (1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs will contain atMostOneOf (1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs will contain inOrder (1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs will contain inOrderElementsOf List(1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs will contain inOrderOnly (1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
map will contain key ("one") ^
This method enables the following syntax:
This method enables the following syntax:
xs will contain noElementsOf List(1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs will contain noneOf (1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs will contain oneElementOf List(1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs will contain oneOf (1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs will contain only (1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs will contain theSameElementsAs (List(1, 2)) ^
This method enables the following syntax:
This method enables the following syntax:
xs will contain theSameElementsInOrderAs (List(1, 2)) ^
This method enables the following syntax:
This method enables the following syntax:
map will contain value ("one") ^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL.