METHOD_0 ( ) { java . util . List < java . lang . String > list = null ; "<AssertPlaceHolder>" ; } count ( java . util . List , java . util . function . IDENT_0 ) { if ( com . liferay . portal . kernel . util . IDENT_1 . isEmpty ( list ) ) { return 0 ; } int count = 0 ; for ( IDENT_2 element : list ) { if ( IDENT_3 . test ( element ) ) { count ++ ; } } return count ; }
org . junit . Assert . assertEquals ( 0 , com . liferay . portal . kernel . util . IDENT_1 . count ( list , ( s ) -> true ) )