擅长:python、mysql、java
<p>将<code>actual</code>值的一系列值(列表或元组)和相同数量的匹配器作为参数传递给<a href="http://code.google.com/p/hamcrest/source/browse/trunk/hamcrest-python/hamcrest/library/collection/issequence_containinginorder.py" rel="nofollow">^{<cd2>}</a>:</p>
<pre><code>assert_that((actual0, actual1, ...), contains(matcher0, matcher1, ...))
</code></pre>
<p>匹配器列表按实际值的顺序逐个应用。所有这些都必须匹配,断言才能通过。在</p>