METHOD_0 ( ) { final org . IDENT_0 . IDENT_1 . commands . IDENT_2 expected = mock ( org . IDENT_0 . IDENT_1 . commands . IDENT_2 . class ) ; when ( factory . status ( ) ) . thenReturn ( expected ) ; final org . IDENT_0 . IDENT_1 . commands . IDENT_2 result = IDENT_3 . parse ( STRING_0 ) ; "<AssertPlaceHolder>" ; } parse ( java . lang . String ) { if ( line == null ) { return null ; } if ( line . equals ( org . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 ) ) { return factory . METHOD_1 ( ) ; } else if ( line . equals ( org . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_6 ) ) { return factory . status ( ) ; } else { if ( line . startsWith ( STRING_1 ) ) { final org . IDENT_0 . IDENT_1 . commands . IDENT_2 result = METHOD_2 ( line ) ; if ( result != null ) { return result ; } } else if ( line . startsWith ( STRING_2 ) ) { final org . IDENT_0 . IDENT_1 . commands . IDENT_2 result = METHOD_3 ( line ) ; if ( result != null ) { return result ; } } return factory . METHOD_4 ( line , STRING_3 ) ; } }
org . junit . Assert . assertSame ( expected , result )