METHOD_0 ( ) { org . IDENT_0 . model . IDENT_1 consumer = mock ( org . IDENT_0 . model . IDENT_1 . class ) ; org . IDENT_0 . model . IDENT_2 IDENT_3 = mock ( org . IDENT_0 . model . IDENT_2 . class ) ; when ( IDENT_3 . METHOD_1 ( ) ) . thenReturn ( consumer ) ; when ( IDENT_3 . METHOD_2 ( ) ) . thenReturn ( STRING_0 ) ; when ( IDENT_3 . getId ( ) ) . thenReturn ( "test" ) ; when ( consumer . METHOD_3 ( ) ) . thenReturn ( STRING_1 ) ; when ( consumer . getId ( ) ) . thenReturn ( STRING_2 ) ; org . IDENT_0 . IDENT_4 . IDENT_5 event = IDENT_6 . METHOD_4 ( IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { return IDENT_7 ; }
org . junit . Assert . assertNotNull ( event . METHOD_5 ( ) )