METHOD_0 ( ) { java . util . Date IDENT_0 = new java . util . Date ( ) ; java . util . Collection < de . IDENT_1 . IDENT_2 . example . IDENT_3 > IDENT_4 = new java . util . ArrayList < de . IDENT_1 . IDENT_2 . example . IDENT_3 > ( ) ; when ( IDENT_5 . METHOD_1 ( METHOD_2 ( ) , eq ( IDENT_0 ) ) ) . thenReturn ( IDENT_4 ) ; de . IDENT_1 . IDENT_2 . example . IDENT_6 address = IDENT_7 . METHOD_3 ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . util . Date ) { java . util . Collection < de . IDENT_1 . IDENT_2 . example . IDENT_3 > IDENT_8 = IDENT_5 . METHOD_1 ( this . id , IDENT_9 ) ; if ( ( IDENT_8 . size ( ) ) == 0 ) { return null ; } else if ( ( IDENT_8 . size ( ) ) == 1 ) { de . IDENT_1 . IDENT_2 . example . IDENT_6 IDENT_10 = IDENT_8 . iterator ( ) . next ( ) ; return IDENT_10 ; } else { de . IDENT_1 . IDENT_2 . example . IDENT_6 IDENT_11 = java . util . Collections . max ( IDENT_8 ) ; return IDENT_11 ; } }
org . junit . Assert . assertNull ( address )