METHOD_0 ( ) { org . IDENT_0 . resources . IDENT_1 IDENT_2 = mock ( org . IDENT_0 . resources . IDENT_1 . class ) ; when ( resources . image ( METHOD_1 ( org . IDENT_0 . resources . IDENT_3 . IDENT_4 ) ) ) . thenReturn ( IDENT_2 ) ; org . IDENT_0 . resources . IDENT_1 IDENT_5 = IDENT_6 . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { int size = IDENT_7 . METHOD_3 ( ) . IDENT_8 ; java . awt . IDENT_1 image = METHOD_2 ( size ) ; if ( image == null ) { image = METHOD_2 ( org . IDENT_0 . resources . IDENT_9 . IDENT_10 ) ; } return image ; }
org . junit . Assert . assertThat ( IDENT_5 , org . hamcrest . CoreMatchers . equalTo ( IDENT_2 ) )