// Path: src/main/java/com/reachcall/pretty/config/Configurator.java
// public static interface ConfiguratorCallback {
//     Configuration activeConfiguration();
// 
//     void onLoad(Configuration configuration);
// }


import com.reachcall.pretty.config.Configurator.ConfiguratorCallback;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.xml.bind.JAXBException;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
 * Copyright 2013, Robert Cooper, Reach Health
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 */
package com.reachcall.pretty.config;



/**
 *
 * @author kebernet
 */
public class ResolverTest {
    
    public ResolverTest() {
    }

    
    
    @Test
    public void testGetActiveConfiguration() throws JAXBException, InterruptedException {
        final Resolver r = new Resolver(null, 500);
// Path: src/main/java/com/reachcall/pretty/config/Configurator.java
// public static interface ConfiguratorCallback {
//     Configuration activeConfiguration();
// 
//     void onLoad(Configuration configuration);
// }


// Path: src/test/java/com/reachcall/pretty/config/ResolverTest.java
import com.reachcall.pretty.config.Configurator.ConfiguratorCallback;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.xml.bind.JAXBException;
import org.junit.Test;
import static org.junit.Assert.assertEquals;

/**
 * Copyright 2013, Robert Cooper, Reach Health
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 */
package com.reachcall.pretty.config;



/**
 *
 * @author kebernet
 */
public class ResolverTest {
    
    public ResolverTest() {
    }

    
    
    @Test
    public void testGetActiveConfiguration() throws JAXBException, InterruptedException {
        final Resolver r = new Resolver(null, 500);
        Configurator configurator = new Configurator( new ConfiguratorCallback(){