METHOD_0 ( ) { resource . METHOD_1 ( STRING_0 , parameters ) ; final com . cloud . network . schema . IDENT_0 . IDENT_1 IDENT_2 = mock ( com . cloud . network . schema . IDENT_0 . IDENT_1 . class ) ; when ( IDENT_2 . METHOD_2 ( ) ) . thenReturn ( STRING_1 ) ; java . util . List < com . cloud . network . schema . IDENT_0 . IDENT_1 > nodes = new java . util . ArrayList < com . cloud . network . schema . IDENT_0 . IDENT_1 > ( ) ; nodes . add ( IDENT_2 ) ; final com . cloud . network . schema . IDENT_0 . IDENT_3 IDENT_4 = mock ( com . cloud . network . schema . IDENT_0 . IDENT_3 . class ) ; final com . cloud . network . schema . IDENT_0 . IDENT_5 output = mock ( com . cloud . network . schema . IDENT_0 . IDENT_5 . class ) ; when ( output . METHOD_3 ( ) ) . thenReturn ( IDENT_4 ) ; when ( IDENT_4 . METHOD_4 ( ) ) . thenReturn ( nodes ) ; when ( api . METHOD_5 ( ) ) . thenReturn ( output ) ; final com . cloud . IDENT_6 . api . IDENT_7 IDENT_8 = resource . METHOD_6 ( INT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( long ) { return new com . cloud . IDENT_6 . api . METHOD_7 ( IDENT_9 . Type . IDENT_10 , id ) ; }
org . junit . Assert . assertTrue ( ( IDENT_8 == null ) )