METHOD_0 ( ) { org . opennms . IDENT_0 . model . IDENT_1 IDENT_2 = IDENT_3 . METHOD_1 ( ) . get ( IDENT_3 . METHOD_2 ( ) . getId ( ) , org . opennms . core . utils . IDENT_4 . METHOD_3 ( STRING_0 ) , STRING_1 ) ; org . opennms . IDENT_0 . model . IDENT_5 event = IDENT_3 . METHOD_4 ( ) . get ( 1 ) ; org . opennms . IDENT_0 . model . IDENT_6 IDENT_7 = new org . opennms . IDENT_0 . model . METHOD_5 ( new java . util . Date ( ) , new java . util . Date ( ) , event , event , IDENT_2 , null , null ) ; IDENT_3 . METHOD_6 ( ) . save ( IDENT_7 ) ; IDENT_3 . METHOD_6 ( ) . METHOD_7 ( ) ; org . opennms . web . IDENT_8 . filter . IDENT_9 filter = new org . opennms . web . IDENT_8 . filter . METHOD_8 ( org . opennms . web . IDENT_8 . filter . IDENT_10 . METHOD_9 ( ) ) ; org . opennms . web . IDENT_8 . filter . IDENT_11 criteria = new org . opennms . web . IDENT_8 . filter . METHOD_10 ( filter ) ; org . opennms . web . IDENT_8 . IDENT_12 [ ] IDENT_13 = IDENT_14 . METHOD_11 ( criteria ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( org . opennms . web . IDENT_8 . filter . METHOD_10 ) { final java . util . List < org . opennms . web . IDENT_8 . IDENT_12 > IDENT_13 = new java . util . ArrayList ( ) ; final java . util . List < org . opennms . IDENT_0 . model . METHOD_5 > IDENT_15 = IDENT_16 . METHOD_12 ( METHOD_13 ( criteria ) ) ; for ( final org . opennms . IDENT_0 . model . METHOD_5 IDENT_8 : IDENT_15 ) { IDENT_13 . add ( METHOD_14 ( IDENT_8 ) ) ; } return IDENT_13 . toArray ( new org . opennms . web . IDENT_8 . IDENT_12 [ 0 ] ) ; }
org . junit . Assert . assertEquals ( 1 , IDENT_13 . length )