def METHOD_NAME(
        self,
        get_instance_health_mock,
        get_environment_health_mock,
        describe_configuration_settings_mock
):
    fileoperations.create_config_file(
        'my-application',
        'us-west-2',
        'php-7.2'
    )
    commonops.set_environment_for_current_branch('environment-1')
    describe_configuration_settings_mock.return_value = mock_responses.DESCRIBE_CONFIGURATION_SETTINGS_RESPONSE__2['ConfigurationSettings'][0]
    get_environment_health_mock.return_value = mock_responses.DESCRIBE_ENVIRONMENT_HEALTH_RESPONSE
    get_instance_health_mock.return_value = mock_responses.DESCRIBE_INSTANCES_HEALTH_RESPONSE
    def run_eb_health_refresh():
        app = EB(argv=['health', '--refresh'])
        app.setup()
        app.run()
    t = threading.Thread(target=run_eb_health_refresh)
    t.start()
    t.join(timeout=2)