### Question:
TaskAssigningServiceConfig { public SolverHandlerConfig getSolverHandlerConfig() { return solverHandlerConfig; } TaskAssigningServiceConfig(String targetUserId,
                                      int publishWindowSize,
                                      Duration syncInterval,
                                      Duration syncQueriesShift,
                                      Duration usersSyncInterval,
                                      Duration waitForImprovedSolutionDuration,
                                      Duration improveSolutionOnBackgroundDuration); SolverHandlerConfig getSolverHandlerConfig();  }### Answer:
@Test public void getSolverHandlerConfig() { TaskAssigningServiceConfig serviceConfig = new TaskAssigningServiceConfig(TARGET_USER, PUBLISH_WINDOW_SIZE, SYNC_INTERVAL, SYNC_QUERIES_SHIFT, USERS_SYNC_INTERVAL, WAIT_FOR_IMPROVED_SOLUTION_DURATION, IMPROVE_SOLUTION_ON_BACKGROUND_DURATION); SolverHandlerConfig handlerConfig = serviceConfig.getSolverHandlerConfig(); assertThat(handlerConfig).isNotNull(); assertThat(handlerConfig.getTargetUserId()).isEqualTo(TARGET_USER); assertThat(handlerConfig.getPublishWindowSize()).isEqualTo(PUBLISH_WINDOW_SIZE); assertThat(handlerConfig.getSyncInterval()).isEqualTo(SYNC_INTERVAL); assertThat(handlerConfig.getSyncQueriesShift()).isEqualTo(SYNC_QUERIES_SHIFT); assertThat(handlerConfig.getUsersSyncInterval()).isEqualTo(USERS_SYNC_INTERVAL); assertThat(handlerConfig.getWaitForImprovedSolutionDuration()).isEqualTo(WAIT_FOR_IMPROVED_SOLUTION_DURATION); assertThat(handlerConfig.getImproveSolutionOnBackgroundDuration()).isEqualTo(IMPROVE_SOLUTION_ON_BACKGROUND_DURATION); }