final int throttleValue = 1234;
SubmissionThrottle throttle = mock(SubmissionThrottle.class);
ProfileInstance profile = new ProfileInstance();
FileEventHandler fileEventHandler = mock(FileEventHandler.class);
when(fileEventHandler.getSubmissionThrottle()).thenReturn(throttle);
profileInstanceManager.setProfile(profile);
ProfileSpecWalkerImpl profileSpecWalker = new ProfileSpecWalkerImpl();
profileSpecWalker.setFileEventHandler(fileEventHandler);
profileInstanceManager.setSpecWalker(profileSpecWalker);