composing "contain" and set of "have" matchers

13 views
Skip to first unread message

Eugene Dzhurinsky

unread,
Nov 29, 2015, 12:06:22 AM11/29/15
to scalatest-users
Hi, my use-case is simple - I have a collection of items of type X with properties A, B and C

I need to write something like

myCollection should contain (have 'A ("test") and 'B ("passed") and 'C (123) )

What is the best way to achieve that?
Reply all
Reply to author
Forward
0 new messages