filter = new UpdateFilter( sec, (LocalQuery) sf.getQueryService() );
filter = new UpdateFilter( );
    protected void setUp() throws Exception    {        super.setUp();                sf = new MockServiceFactory();        ec = new ThreadLocalEventContext();        sec = new BasicSecuritySystem (sf,ec );                sf.mockAdmin = mock(IAdmin.class);        sf.mockQuery = mock(LocalQuery.class);        sf.mockTypes = mock(ITypes.class);        filter = new UpdateFilter( sec, (LocalQuery) sf.getQueryService() );                rootLogin();            }