FileEventHandler fileEventHandler = mock(FileEventHandler.class);
when(fileEventHandler.getSubmissionThrottle()).thenReturn(throttle);
profileInstanceManager.setProfile(profile);
ProfileSpecWalkerImpl profileSpecWalker = new ProfileSpecWalkerImpl();
profileSpecWalker.setFileEventHandler(fileEventHandler);
profileInstanceManager.setSpecWalker(profileSpecWalker);
profileInstanceManager.setThrottleValue(throttleValue);
verify(throttle).setWaitMilliseconds(throttleValue);
assertEquals(throttleValue, profile.getThrottle());