@Before public void setUp() { caller = Caller.createCaller(null); ControlledProcessState processState = new ControlledProcessState(false); processState.setRunning(); environment = new Environment(processState, ProcessType.EMBEDDED_SERVER); }
@Before public void setUp() { caller = Caller.createCaller(null); ControlledProcessState processState = new ControlledProcessState(false); processState.setRunning(); environment = new Environment(processState, ProcessType.EMBEDDED_SERVER); TestPermissionFactory testPermissionFactory = new TestPermissionFactory(); authorizer = new ManagementPermissionAuthorizer(testPermissionFactory, testPermissionFactory); }