Code example for Collection

Methods: contains

0
    } 
 
    public void assertContains(final Object obj, 
                               final Collection collection) { 
        assertTrue( collection + " does not contain " + obj, 
                    collection.contains( obj ) ); 
    } 
 
}