// Path: src/main/java/nl/esciencecenter/ahn/pointcloud/job/SchedulerConfiguration.java
// public class SchedulerConfiguration {
//     /**
//      * Scheme of scheduler used to submit jobs
//      */
//     @NotEmpty
//     @JsonProperty
//     private String scheme;
// 
//     /**
//      * Location of scheduler used to submit jobs.
//      * eg. For scheme=='ssh' use 'username@hostname:port'.
//      */
//     @JsonProperty
//     private String location;
// 
//     /**
//      * Queue of scheduler used to submit jobs
//      */
//     @NotEmpty
//     @JsonProperty
//     private String queue;
// 
//     /**
//      * Xenon scheduler properties
//      */
//     @JsonProperty
//     private ImmutableMap<String, String> properties = ImmutableMap.of();
// 
//     private SchedulerConfiguration() {
//     }
// 
//     public SchedulerConfiguration(String scheme, String location, String queue, ImmutableMap<String, String> properties) {
//         this.scheme = scheme;
//         this.location = location;
//         this.queue = queue;
//         this.properties = properties;
//     }
// 
//     public String getScheme() {
//         return scheme;
//     }
// 
//     public String getLocation() {
//         return location;
//     }
// 
//     public String getQueue() {
//         return queue;
//     }
// 
//     public ImmutableMap<String, String> getProperties() {
//         return properties;
//     }
// }
// 
// Path: src/main/java/nl/esciencecenter/ahn/pointcloud/job/XenonConfiguration.java
// public class XenonConfiguration {
//     /**
//      * Scheduler configuration used to submit jobs
//      */
//     @Valid
//     @JsonProperty
//     private SchedulerConfiguration scheduler;
// 
//     /**
//      * Xenon global properties
//      */
//     @JsonProperty
//     private ImmutableMap<String, String> properties = ImmutableMap.of();
// 
//     private XenonConfiguration() {
//     }
// 
//     public XenonConfiguration(SchedulerConfiguration scheduler, ImmutableMap<String, String> properties) {
//         this.scheduler = scheduler;
//         this.properties = properties;
//     }
// 
//     public SchedulerConfiguration getScheduler() {
//         return scheduler;
//     }
// 
//     public Map<String, String> getProperties() {
//         return properties;
//     }
// }


import com.google.common.collect.ImmutableMap;
import io.dropwizard.db.DataSourceFactory;
import nl.esciencecenter.ahn.pointcloud.job.SchedulerConfiguration;
import nl.esciencecenter.ahn.pointcloud.job.XenonConfiguration;
import org.junit.Before;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
package nl.esciencecenter.ahn.pointcloud;




public class ViewerConfigurationTest {
    private ViewerConfiguration config;
    private XenonConfiguration xenon;
    private DataSourceFactory database;
    private ScriptConfiguration scriptConfig;

    @Before
    public void setUp() {
        ImmutableMap<String, String> props = ImmutableMap.of("somepropkey", "somepropvalue");
// Path: src/main/java/nl/esciencecenter/ahn/pointcloud/job/SchedulerConfiguration.java
// public class SchedulerConfiguration {
//     /**
//      * Scheme of scheduler used to submit jobs
//      */
//     @NotEmpty
//     @JsonProperty
//     private String scheme;
// 
//     /**
//      * Location of scheduler used to submit jobs.
//      * eg. For scheme=='ssh' use 'username@hostname:port'.
//      */
//     @JsonProperty
//     private String location;
// 
//     /**
//      * Queue of scheduler used to submit jobs
//      */
//     @NotEmpty
//     @JsonProperty
//     private String queue;
// 
//     /**
//      * Xenon scheduler properties
//      */
//     @JsonProperty
//     private ImmutableMap<String, String> properties = ImmutableMap.of();
// 
//     private SchedulerConfiguration() {
//     }
// 
//     public SchedulerConfiguration(String scheme, String location, String queue, ImmutableMap<String, String> properties) {
//         this.scheme = scheme;
//         this.location = location;
//         this.queue = queue;
//         this.properties = properties;
//     }
// 
//     public String getScheme() {
//         return scheme;
//     }
// 
//     public String getLocation() {
//         return location;
//     }
// 
//     public String getQueue() {
//         return queue;
//     }
// 
//     public ImmutableMap<String, String> getProperties() {
//         return properties;
//     }
// }
// 
// Path: src/main/java/nl/esciencecenter/ahn/pointcloud/job/XenonConfiguration.java
// public class XenonConfiguration {
//     /**
//      * Scheduler configuration used to submit jobs
//      */
//     @Valid
//     @JsonProperty
//     private SchedulerConfiguration scheduler;
// 
//     /**
//      * Xenon global properties
//      */
//     @JsonProperty
//     private ImmutableMap<String, String> properties = ImmutableMap.of();
// 
//     private XenonConfiguration() {
//     }
// 
//     public XenonConfiguration(SchedulerConfiguration scheduler, ImmutableMap<String, String> properties) {
//         this.scheduler = scheduler;
//         this.properties = properties;
//     }
// 
//     public SchedulerConfiguration getScheduler() {
//         return scheduler;
//     }
// 
//     public Map<String, String> getProperties() {
//         return properties;
//     }
// }


// Path: src/test/java/nl/esciencecenter/ahn/pointcloud/ViewerConfigurationTest.java
import com.google.common.collect.ImmutableMap;
import io.dropwizard.db.DataSourceFactory;
import nl.esciencecenter.ahn.pointcloud.job.SchedulerConfiguration;
import nl.esciencecenter.ahn.pointcloud.job.XenonConfiguration;
import org.junit.Before;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;

package nl.esciencecenter.ahn.pointcloud;




public class ViewerConfigurationTest {
    private ViewerConfiguration config;
    private XenonConfiguration xenon;
    private DataSourceFactory database;
    private ScriptConfiguration scriptConfig;

    @Before
    public void setUp() {
        ImmutableMap<String, String> props = ImmutableMap.of("somepropkey", "somepropvalue");
        SchedulerConfiguration scheduler = new SchedulerConfiguration("ssh", "someone@somewhere:2222", "multi", props);