METHOD_0 ( ) { org . IDENT_0 . plugins . IDENT_1 . IDENT_2 build = mock ( org . IDENT_0 . plugins . IDENT_1 . IDENT_2 . class ) ; when ( build . METHOD_1 ( ) ) . thenReturn ( STRING_0 ) ; java . lang . String description = IDENT_3 . METHOD_2 ( build , IDENT_4 . IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . IDENT_0 . plugins . IDENT_1 . IDENT_6 , org . IDENT_0 . plugins . IDENT_1 . IDENT_4 ) { if ( ( ( run . METHOD_1 ( ) ) != null ) && ( ( run . METHOD_1 ( ) . trim ( ) . length ( ) ) > 0 ) ) { return run . METHOD_1 ( ) ; } else { switch ( state ) { case IDENT_7 : return STRING_1 + ( METHOD_3 ( ) ) ; default : return STRING_2 + ( METHOD_3 ( ) ) ; } } }
org . junit . Assert . assertThat ( description , org . hamcrest . CoreMatchers . is ( STRING_0 ) )