// Path: src/test/java/com/coding4people/mosquitoreport/api/WithServer.java
// abstract public class WithServer extends JerseyTest implements BaseTest {
//     @Override
//     protected ResourceConfig configure() {
//         MockitoAnnotations.initMocks(this);
// 
//         return  new Config().configureFramework().register(new MockBinder(this));
//     }
// }


import static org.junit.Assert.assertEquals;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Response;
import org.glassfish.jersey.server.ResourceConfig;
import org.junit.Test;
import com.coding4people.mosquitoreport.api.WithServer;
import com.fasterxml.jackson.databind.node.ObjectNode;

package com.coding4people.mosquitoreport.api.exceptionmappers;





public class InternalServerErrorExceptionMapperTest extends WithServer {

    @Path("/internal-server-error")
    public static class TestErrorController {
        @GET
        @Produces("application/json;charset=UTF-8")
        public String producesInternalServerError() {

// Path: src/test/java/com/coding4people/mosquitoreport/api/WithServer.java
// abstract public class WithServer extends JerseyTest implements BaseTest {
//     @Override
//     protected ResourceConfig configure() {
//         MockitoAnnotations.initMocks(this);
// 
//         return  new Config().configureFramework().register(new MockBinder(this));
//     }
// }


// Path: src/test/java/com/coding4people/mosquitoreport/api/exceptionmappers/InternalServerErrorExceptionMapperTest.java
import static org.junit.Assert.assertEquals;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Response;
import org.glassfish.jersey.server.ResourceConfig;
import org.junit.Test;
import com.coding4people.mosquitoreport.api.WithServer;
import com.fasterxml.jackson.databind.node.ObjectNode;

package com.coding4people.mosquitoreport.api.exceptionmappers;





public class InternalServerErrorExceptionMapperTest extends WithServer {

    @Path("/internal-server-error")
    public static class TestErrorController {
        @GET
        @Produces("application/json;charset=UTF-8")
        public String producesInternalServerError() {

            throw new RuntimeException();
