Changes between Version 41 and Version 42 of ProgrammingGuidelines


Ignore:
Timestamp:
07/12/11 16:34:57 (8 years ago)
Author:
welberge
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ProgrammingGuidelines

    v41 v42  
    215215}}} 
    216216 
    217 Asserts that someList has items item1, item2, item3 in order; someList 
    218 may not contain any other items. 
    219 {{{ 
    220 import static org.hamcrest.MatcherAssert.assertThat; 
    221 import org.hamcrest.collection.*; 
    222 ... 
    223 assertThat(someList,IsIterableContainingInOrder.contains("item1","item2","item3")); 
    224 }}} 
    225  
    226217Asserts that someList has items item1, item2, item3 in any order; someList 
    227218may not contain any other items.