// Path: src/main/java/nl/esciencecenter/ahn/pointcloud/ScriptConfiguration.java
// public class ScriptConfiguration extends Configuration {
//     @Valid
//     @NotNull
//     @JsonProperty
//     private int srid;
// 
//     @NotEmpty
//     @JsonProperty
//     private String executable;
// 
//     @NotEmpty
//     @JsonProperty
//     private String dataset;
// 
//     @NotEmpty
//     @JsonProperty
//     private String basePath;
// 
//     @NotEmpty
//     @JsonProperty
//     private String baseUrl;
// 
//     public ScriptConfiguration() {
//     }
// 
//     public ScriptConfiguration(int srid, String executable, String dataset, String basePath, String baseUrl) {
//         this.srid = srid;
//         this.executable = executable;
//         this.dataset = dataset;
//         this.basePath = basePath;
//         this.baseUrl = baseUrl;
//     }
// 
//     public int getSrid() {
//         return srid;
//     }
// 
//     public String getExecutable() {
//         return executable;
//     }
// 
//     public String getDataset() {
//         return dataset;
//     }
// 
//     public String getBasePath() {
//         return basePath;
//     }
// 
//     public String getBaseUrl() {
//         return baseUrl;
//     }
// }


import com.fasterxml.jackson.databind.ObjectMapper;
import io.dropwizard.jackson.Jackson;
import nl.esciencecenter.ahn.pointcloud.ScriptConfiguration;
import nl.esciencecenter.xenon.jobs.JobDescription;
import org.junit.BeforeClass;
import org.junit.Test;
import javax.validation.ConstraintViolation;
import javax.validation.Validation;
import javax.validation.Validator;
import javax.validation.ValidatorFactory;
import java.util.Set;
import static io.dropwizard.testing.FixtureHelpers.fixture;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
package nl.esciencecenter.ahn.pointcloud.core;




public class LazRequestTest  {
    private static final ObjectMapper MAPPER = Jackson.newObjectMapper();
    private static Validator validator;

    @BeforeClass
    public static void setUp() {
        ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
        validator = factory.getValidator();
    }

    @Test
    public void testGetEmail() throws Exception {
        LazRequest request = new LazRequest(1.0, 2.0, 3.0, 4.0, "someone@example.com");

        assertThat(request.getEmail(), is("someone@example.com"));
    }

    @Test
    public void testToJobDescription() throws Exception {
        LazRequest request = new LazRequest(1.0, 2.0, 3.0, 4.0, "someone@example.com");
// Path: src/main/java/nl/esciencecenter/ahn/pointcloud/ScriptConfiguration.java
// public class ScriptConfiguration extends Configuration {
//     @Valid
//     @NotNull
//     @JsonProperty
//     private int srid;
// 
//     @NotEmpty
//     @JsonProperty
//     private String executable;
// 
//     @NotEmpty
//     @JsonProperty
//     private String dataset;
// 
//     @NotEmpty
//     @JsonProperty
//     private String basePath;
// 
//     @NotEmpty
//     @JsonProperty
//     private String baseUrl;
// 
//     public ScriptConfiguration() {
//     }
// 
//     public ScriptConfiguration(int srid, String executable, String dataset, String basePath, String baseUrl) {
//         this.srid = srid;
//         this.executable = executable;
//         this.dataset = dataset;
//         this.basePath = basePath;
//         this.baseUrl = baseUrl;
//     }
// 
//     public int getSrid() {
//         return srid;
//     }
// 
//     public String getExecutable() {
//         return executable;
//     }
// 
//     public String getDataset() {
//         return dataset;
//     }
// 
//     public String getBasePath() {
//         return basePath;
//     }
// 
//     public String getBaseUrl() {
//         return baseUrl;
//     }
// }


// Path: src/test/java/nl/esciencecenter/ahn/pointcloud/core/LazRequestTest.java
import com.fasterxml.jackson.databind.ObjectMapper;
import io.dropwizard.jackson.Jackson;
import nl.esciencecenter.ahn.pointcloud.ScriptConfiguration;
import nl.esciencecenter.xenon.jobs.JobDescription;
import org.junit.BeforeClass;
import org.junit.Test;
import javax.validation.ConstraintViolation;
import javax.validation.Validation;
import javax.validation.Validator;
import javax.validation.ValidatorFactory;
import java.util.Set;
import static io.dropwizard.testing.FixtureHelpers.fixture;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;

package nl.esciencecenter.ahn.pointcloud.core;




public class LazRequestTest  {
    private static final ObjectMapper MAPPER = Jackson.newObjectMapper();
    private static Validator validator;

    @BeforeClass
    public static void setUp() {
        ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
        validator = factory.getValidator();
    }

    @Test
    public void testGetEmail() throws Exception {
        LazRequest request = new LazRequest(1.0, 2.0, 3.0, 4.0, "someone@example.com");

        assertThat(request.getEmail(), is("someone@example.com"));
    }

    @Test
    public void testToJobDescription() throws Exception {
        LazRequest request = new LazRequest(1.0, 2.0, 3.0, 4.0, "someone@example.com");
        ScriptConfiguration scriptConfig = new ScriptConfiguration(28992, "/bin/echo", "ahn2", "/data/jobs", "http://localhost/jobs");