METHOD_0 ( ) { org . opennms . IDENT_0 . IDENT_1 . persistence . api . IDENT_2 IDENT_3 = new org . opennms . IDENT_0 . IDENT_1 . test . METHOD_1 ( ) . name ( STRING_0 ) . METHOD_2 ( new org . opennms . IDENT_0 . IDENT_1 . persistence . api . IDENT_4 . IDENT_5 . METHOD_3 ( ) ) . METHOD_4 ( STRING_1 , new org . opennms . IDENT_0 . IDENT_1 . persistence . api . IDENT_4 . map . METHOD_5 ( ) , 1 ) . METHOD_4 ( STRING_2 , new org . opennms . IDENT_0 . IDENT_1 . persistence . api . IDENT_4 . map . METHOD_5 ( ) , 1 ) . METHOD_6 ( ) ; org . opennms . IDENT_0 . IDENT_1 . persistence . api . IDENT_2 IDENT_6 = new org . opennms . IDENT_0 . IDENT_1 . test . METHOD_1 ( ) . name ( STRING_3 ) . METHOD_2 ( new org . opennms . IDENT_0 . IDENT_1 . persistence . api . IDENT_4 . IDENT_5 . METHOD_3 ( ) ) . METHOD_4 ( STRING_4 , new org . opennms . IDENT_0 . IDENT_1 . persistence . api . IDENT_4 . map . METHOD_5 ( ) , 1 ) . METHOD_4 ( STRING_5 , new org . opennms . IDENT_0 . IDENT_1 . persistence . api . IDENT_4 . map . METHOD_5 ( ) , 1 ) . METHOD_6 ( ) ; IDENT_7 . save ( IDENT_3 ) ; IDENT_7 . save ( IDENT_6 ) ; IDENT_7 . METHOD_7 ( ) ; org . opennms . IDENT_8 . IDENT_9 . api . IDENT_10 IDENT_11 = org . easymock . EasyMock . METHOD_8 ( org . opennms . IDENT_8 . IDENT_9 . api . IDENT_10 . class ) ; org . easymock . EasyMock . expect ( IDENT_11 . METHOD_9 ( org . easymock . EasyMock . METHOD_10 ( org . opennms . IDENT_8 . IDENT_9 . plugins . IDENT_12 . IDENT_1 . IDENT_13 . class ) ) ) . andReturn ( new org . opennms . IDENT_8 . IDENT_9 . api . IDENT_12 . METHOD_11 ( STRING_6 , STRING_7 , STRING_8 ) ) ; org . opennms . IDENT_8 . IDENT_9 . api . IDENT_14 IDENT_15 = org . easymock . EasyMock . METHOD_8 ( org . opennms . IDENT_8 . IDENT_9 . api . IDENT_14 . class ) ; org . easymock . EasyMock . expect ( IDENT_15 . METHOD_12 ( ) ) . andReturn ( IDENT_11 ) . METHOD_13 ( ) ; org . easymock . EasyMock . replay ( IDENT_15 , IDENT_11 ) ; final org . opennms . IDENT_8 . IDENT_9 . plugins . IDENT_12 . IDENT_1 . IDENT_16 provider = new org . opennms . IDENT_8 . IDENT_9 . plugins . IDENT_12 . IDENT_1 . METHOD_14 ( ) ; provider . METHOD_15 ( IDENT_17 ) ; final org . opennms . IDENT_8 . IDENT_9 . api . IDENT_12 . IDENT_18 query = new org . opennms . IDENT_8 . IDENT_9 . api . IDENT_12 . METHOD_16 ( STRING_9 ) { @ org . opennms . IDENT_8 . IDENT_9 . plugins . IDENT_12 . IDENT_1 . Override public boolean matches ( java . lang . String IDENT_19 ) { return true ; } } ; final java . util . List < org . opennms . IDENT_8 . IDENT_9 . api . IDENT_12 . IDENT_20 > result = provider . query ( query , IDENT_15 ) ; "<AssertPlaceHolder>" ; org . easymock . EasyMock . verify ( IDENT_15 , IDENT_11 ) ; } size ( ) { IDENT_21 . METHOD_17 ( ) . METHOD_18 ( ) ; try { return IDENT_22 . size ( ) ; } finally { IDENT_21 . METHOD_17 ( ) . METHOD_19 ( ) ; } }
org . junit . Assert . assertEquals ( 1 , result . size ( ) )