METHOD_0 ( ) { com . vmware . IDENT_0 . compute . IDENT_1 . service . IDENT_2 . IDENT_3 IDENT_4 = new com . vmware . IDENT_0 . compute . IDENT_1 . service . IDENT_2 . METHOD_1 ( ) ; IDENT_4 . IDENT_5 = new com . vmware . IDENT_0 . compute . IDENT_1 . entities . IDENT_6 . METHOD_2 ( ) ; IDENT_4 . IDENT_5 . spec = new com . vmware . IDENT_0 . compute . IDENT_1 . entities . IDENT_6 . METHOD_3 ( ) ; IDENT_4 . IDENT_5 . spec . IDENT_7 = new java . util . ArrayList ( ) ; com . vmware . IDENT_0 . compute . IDENT_1 . entities . IDENT_6 . IDENT_8 IDENT_9 = new com . vmware . IDENT_0 . compute . IDENT_1 . entities . IDENT_6 . METHOD_4 ( ) ; IDENT_9 . name = STRING_0 ; IDENT_9 . image = STRING_1 ; IDENT_4 . IDENT_5 . spec . IDENT_7 . add ( IDENT_9 ) ; IDENT_4 . IDENT_5 . metadata = new com . vmware . IDENT_0 . compute . IDENT_1 . entities . common . METHOD_5 ( ) ; IDENT_4 . IDENT_5 . metadata . IDENT_10 = STRING_2 ; IDENT_4 . IDENT_5 . metadata . name = STRING_3 ; IDENT_4 . IDENT_11 = IDENT_12 . IDENT_13 ; IDENT_4 . IDENT_14 = IDENT_4 . IDENT_5 . metadata . IDENT_10 ; IDENT_4 = METHOD_6 ( IDENT_4 , IDENT_15 . IDENT_16 ) ; service . IDENT_17 . put ( STRING_3 , IDENT_4 . IDENT_5 ) ; "<AssertPlaceHolder>" ; IDENT_18 = METHOD_7 ( ) ; com . vmware . IDENT_0 . adapter . common . IDENT_19 request = new com . vmware . IDENT_0 . adapter . common . METHOD_8 ( ) ; request . IDENT_20 = com . vmware . IDENT_21 . common . IDENT_22 . METHOD_9 ( host , IDENT_4 . IDENT_13 ) ; request . IDENT_23 = com . vmware . IDENT_0 . service . common . IDENT_24 . create ( IDENT_18 ) ; request . IDENT_25 = IDENT_26 . IDENT_27 . id ; METHOD_10 ( IDENT_28 . IDENT_16 , request ) ; METHOD_11 ( IDENT_18 , com . vmware . IDENT_0 . adapter . common . service . mock . IDENT_29 . IDENT_30 . class , STRING_4 , IDENT_31 . IDENT_32 . IDENT_33 ) ; final java . lang . String IDENT_10 = IDENT_4 . IDENT_13 ; final long IDENT_34 = INT_0 ; long IDENT_35 = java . lang . System . currentTimeMillis ( ) ; METHOD_12 ( ( ) -> { if ( ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_35 ) > IDENT_34 ) { fail ( java . lang . String . format ( STRING_5 , IDENT_10 , IDENT_34 ) ) ; } return ( service . IDENT_17 . size ( ) ) == 0 ; } ) ; } add ( com . vmware . IDENT_0 . compute . container . IDENT_36 . IDENT_37 . IDENT_38 ) { com . vmware . IDENT_0 . common . util . IDENT_39 . assertNotNull ( IDENT_36 . name , STRING_6 ) ; com . vmware . IDENT_0 . common . util . IDENT_39 . assertNotNull ( IDENT_36 . driver , STRING_7 ) ; IDENT_40 . put ( IDENT_36 . name , IDENT_36 ) ; }
org . junit . Assert . assertTrue ( ( ( service . IDENT_17 . size ( ) ) == 1 ) )