public CollectionAssert hasFlattenedSizeGreaterThanOrEqualTo ( int size ) { isNotNull ( ) ; int flattenedSize = flattenedSize ( 0 , this . actual ) ; if ( ! ( flattenedSize >= size ) ) { failWithMessage ( "The flattened size <%s> is not greater or equal to <%s>" , flattenedSize , size ) ; } return this ; }
Flattens the collection and checks whether size is greater than or equal to the provided value .