METHOD_0 ( ) { @ com . artemis . IDENT_0 . METHOD_1 ( IDENT_1 = true ) class IDENT_2 extends net . IDENT_3 . api . manager . IDENT_4 < net . IDENT_3 . api . common . IDENT_5 , net . IDENT_3 . api . common . IDENT_6 > { int count = 0 ; public METHOD_2 ( ) { super ( net . IDENT_3 . api . common . IDENT_5 . class , net . IDENT_3 . api . common . IDENT_6 . class ) ; } @ net . IDENT_3 . api . manager . Override MOD_0 void METHOD_3 ( int entity , net . IDENT_3 . api . common . IDENT_5 IDENT_7 , net . IDENT_3 . api . common . IDENT_6 IDENT_8 ) { ( count ) ++ ; } } METHOD_2 manager = new METHOD_2 ( ) ; com . artemis . IDENT_9 IDENT_10 = METHOD_4 ( manager ) ; com . artemis . Entity entity = IDENT_10 . METHOD_5 ( ) ; entity . METHOD_6 ( ) . create ( net . IDENT_3 . api . common . IDENT_5 . class ) ; IDENT_10 . process ( ) ; entity . METHOD_6 ( ) . remove ( net . IDENT_3 . api . common . IDENT_6 . class ) ; IDENT_10 . process ( ) ; "<AssertPlaceHolder>" ; } process ( ) { }
org . junit . Assert . assertEquals ( manager . count , 2 )