METHOD_0 ( ) { org . opennms . IDENT_0 . model . IDENT_1 node = new org . opennms . IDENT_0 . model . METHOD_1 ( IDENT_2 . METHOD_2 ( ) , STRING_0 1 ) ; node . METHOD_3 ( STRING_1 ) ; node . METHOD_4 ( STRING_2 5 ) ; node . setId ( IDENT_3 . METHOD_5 ( ) ) ; org . opennms . IDENT_0 . model . IDENT_4 IDENT_5 = node . METHOD_6 ( ) ; IDENT_5 . METHOD_7 ( STRING_2 6 ) ; org . opennms . IDENT_0 . model . IDENT_6 IDENT_7 = new org . opennms . IDENT_0 . model . METHOD_8 ( node , 3 ) ; IDENT_7 . setId ( 3 ) ; IDENT_7 . METHOD_9 ( STRING_3 ) ; IDENT_7 . METHOD_10 ( STRING_2 3 ) ; IDENT_7 . METHOD_11 ( STRING_2 8 ) ; IDENT_7 . METHOD_12 ( STRING_2 1 ) ; java . util . Set < org . opennms . IDENT_0 . model . IDENT_8 > IDENT_9 = new java . util . IDENT_10 < org . opennms . IDENT_0 . model . IDENT_8 > ( 1 ) ; java . net . IDENT_11 address = java . net . IDENT_11 . METHOD_13 ( STRING_4 ) ; org . opennms . IDENT_0 . model . IDENT_8 IDENT_12 = new org . opennms . IDENT_0 . model . METHOD_14 ( address , node ) ; IDENT_12 . METHOD_15 ( IDENT_7 ) ; IDENT_12 . setId ( 3 ) ; IDENT_12 . METHOD_16 ( 1 ) ; IDENT_12 . METHOD_17 ( STRING_0 1 ) ; IDENT_12 . METHOD_18 ( IDENT_13 . IDENT_14 ) ; IDENT_9 . add ( IDENT_12 ) ; node . METHOD_19 ( IDENT_9 ) ; IDENT_3 . save ( node ) ; IDENT_3 . METHOD_20 ( ) ; org . opennms . IDENT_0 . IDENT_15 . IDENT_16 . IDENT_17 monitor = new org . opennms . IDENT_0 . IDENT_15 . IDENT_16 . METHOD_21 ( ) ; java . util . Map < java . lang . String , java . lang . Object > parameters = new java . util . concurrent . IDENT_18 < java . lang . String , java . lang . Object > ( ) ; final int port = org . opennms . core . test . http . IDENT_19 . METHOD_22 ( ) ; if ( port > 0 ) { parameters . put ( STRING_5 , java . lang . String . valueOf ( port ) ) ; } else { throw new java . lang . IllegalStateException ( STRING_0 ) ; } parameters . put ( STRING_2 , STRING_6 ) ; parameters . put ( STRING_7 , STRING_2 4 ) ; parameters . put ( STRING_8 , STRING_2 0 ) ; parameters . put ( STRING_0 0 , STRING_2 2 ) ; parameters . put ( STRING_2 7 , STRING_9 ) ; org . opennms . IDENT_0 . IDENT_15 . mock . IDENT_20 IDENT_21 = org . opennms . IDENT_0 . IDENT_15 . mock . IDENT_22 . METHOD_23 ( java . lang . Integer . METHOD_24 ( node . METHOD_25 ( ) ) , STRING_0 1 , java . net . IDENT_11 . METHOD_13 ( STRING_4 ) , STRING_2 9 ) ; java . util . Map < java . lang . String , java . lang . Object > IDENT_23 = monitor . METHOD_26 ( IDENT_21 , parameters ) ; IDENT_23 . METHOD_27 ( ( k , v ) -> { parameters . put ( k , v ) ; } ) ; org . opennms . IDENT_0 . IDENT_15 . IDENT_24 status = monitor . METHOD_28 ( IDENT_21 , parameters ) ; "<AssertPlaceHolder>" ; } METHOD_29 ( ) { return IDENT_25 ; }
org . junit . Assert . assertTrue ( status . METHOD_29 ( ) )