Details
-
Type:
New Feature
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: FEST-Assert 1.1
-
Fix Version/s: FEST-Assert 1.1
-
Component/s: Assert
-
Labels:None
-
Number of attachments :
Description
From Konstantin Scheglov:
I need to check not just generic java.util.Collection, but java.util.List, and this List should have only specified elements and in particular order. Nearest (convenient) approximation now is "containtsOnly", but it still worries me that my test does not check as much as it could.
Can you add ListAssert with additional method equals(Object...elements), or something like this?
Original report: Issue 113 (Google Code)
ListAssert and all requested methods have been implemented, with the exception of 'containsOrder(Object)'. I haven't found a way to implement it. If a patch is submitted, I'll be glad to include it.