// Path: src/main/java/io/github/polysantiago/spring/rest/retry/BackOffSettings.java
// @Getter
// @Setter
// public class BackOffSettings {
// 
//     private long delay = 1000;
//     private long maxDelay;
//     private double multiplier;
//     private boolean random;
// 
// }
// 
// Path: src/main/java/io/github/polysantiago/spring/rest/retry/RetrySettings.java
// @Getter
// @Setter
// public class RetrySettings {
// 
//     private int maxAttempts = 3;
//     private BackOffSettings backOff = new BackOffSettings();
// 
// }


import io.github.polysantiago.spring.rest.retry.BackOffSettings;
import io.github.polysantiago.spring.rest.retry.RetrySettings;
import org.junit.After;
import org.junit.Test;
import org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.Configuration;
import static org.assertj.core.api.Assertions.assertThat;
import static org.springframework.boot.test.util.EnvironmentTestUtils.addEnvironment;
package io.github.polysantiago.spring.rest;



public class RestClientPropertiesTest {

    private AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext();

    @After
    public void tearDown() throws Exception {
        if (this.context != null) {
            this.context.close();
        }
    }

    @Test
    public void testDefaultProperties() throws Exception {
        registerAndRefresh();

        assertProperties(getProperties(), 3, 1000L, 0L, 0.0d, false);
    }

// Path: src/main/java/io/github/polysantiago/spring/rest/retry/BackOffSettings.java
// @Getter
// @Setter
// public class BackOffSettings {
// 
//     private long delay = 1000;
//     private long maxDelay;
//     private double multiplier;
//     private boolean random;
// 
// }
// 
// Path: src/main/java/io/github/polysantiago/spring/rest/retry/RetrySettings.java
// @Getter
// @Setter
// public class RetrySettings {
// 
//     private int maxAttempts = 3;
//     private BackOffSettings backOff = new BackOffSettings();
// 
// }


// Path: src/test/java/io/github/polysantiago/spring/rest/RestClientPropertiesTest.java
import io.github.polysantiago.spring.rest.retry.BackOffSettings;
import io.github.polysantiago.spring.rest.retry.RetrySettings;
import org.junit.After;
import org.junit.Test;
import org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.Configuration;
import static org.assertj.core.api.Assertions.assertThat;
import static org.springframework.boot.test.util.EnvironmentTestUtils.addEnvironment;

package io.github.polysantiago.spring.rest;



public class RestClientPropertiesTest {

    private AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext();

    @After
    public void tearDown() throws Exception {
        if (this.context != null) {
            this.context.close();
        }
    }

    @Test
    public void testDefaultProperties() throws Exception {
        registerAndRefresh();

        assertProperties(getProperties(), 3, 1000L, 0L, 0.0d, false);
    }

    @Test