This method enables the following syntax:
This method enables the following syntax:
xs should contain allElementsOf (1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs should contain allOf (1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs should contain atLeastOneElementOf List(1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs should contain atLeastOneOf (1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs should contain atMostOneElementOf (1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs should contain atMostOneOf (1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs should contain inOrder (1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs should contain inOrderElementsOf List(1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs should contain inOrderOnly (1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
map should contain key ("one") ^
This method enables the following syntax:
This method enables the following syntax:
xs should contain noElementsOf List(1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs should contain noneOf (1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs should contain oneElementOf List(1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs should contain oneOf (1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs should contain only (1, 2) ^
This method enables the following syntax:
This method enables the following syntax:
xs should contain theSameElementsAs (List(1, 2)) ^
This method enables the following syntax:
This method enables the following syntax:
xs should contain theSameElementsInOrderAs (List(1, 2)) ^
This method enables the following syntax:
This method enables the following syntax:
map should 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.