// Path: squbs-testkit/src/test/java/org/squbs/testkit/japi/RouteResultInfo.java
// public class RouteResultInfo {
//     private String webContext;
//     private String actorPath;
//     private int result;
// 
//     public String getWebContext() {
//         return webContext;
//     }
// 
//     public void setWebContext(String webContext) {
//         this.webContext = webContext;
//     }
// 
//     public String getActorPath() {
//         return actorPath;
//     }
// 
//     public void setActorPath(String actorPath) {
//         this.actorPath = actorPath;
//     }
// 
//     public int getResult() {
//         return result;
//     }
// 
//     public void setResult(int result) {
//         this.result = result;
//     }
// }


import akka.http.javadsl.marshallers.jackson.Jackson;
import akka.http.javadsl.model.HttpRequest;
import akka.http.javadsl.testkit.TestRoute;
import org.junit.Test;
import org.squbs.testkit.japi.InfoRouteWithActor;
import org.squbs.testkit.japi.RouteResultInfo;
import org.squbs.testkit.japi.JUnitCustomRouteTestKit;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
/*
 * Copyright 2017 PayPal
 *
 * 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
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.squbs.testkit.japi.junit;



public class CustomRouteTestKitTest extends JUnitCustomRouteTestKit {

    @Test
    public void testSimpleRoute() {
        TestRoute simpleRoute = testRoute(InfoRouteWithActor.class);
// Path: squbs-testkit/src/test/java/org/squbs/testkit/japi/RouteResultInfo.java
// public class RouteResultInfo {
//     private String webContext;
//     private String actorPath;
//     private int result;
// 
//     public String getWebContext() {
//         return webContext;
//     }
// 
//     public void setWebContext(String webContext) {
//         this.webContext = webContext;
//     }
// 
//     public String getActorPath() {
//         return actorPath;
//     }
// 
//     public void setActorPath(String actorPath) {
//         this.actorPath = actorPath;
//     }
// 
//     public int getResult() {
//         return result;
//     }
// 
//     public void setResult(int result) {
//         this.result = result;
//     }
// }


// Path: squbs-testkit/src/test/java/org/squbs/testkit/japi/junit/CustomRouteTestKitTest.java
import akka.http.javadsl.marshallers.jackson.Jackson;
import akka.http.javadsl.model.HttpRequest;
import akka.http.javadsl.testkit.TestRoute;
import org.junit.Test;
import org.squbs.testkit.japi.InfoRouteWithActor;
import org.squbs.testkit.japi.RouteResultInfo;
import org.squbs.testkit.japi.JUnitCustomRouteTestKit;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;

/*
 * Copyright 2017 PayPal
 *
 * 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
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.squbs.testkit.japi.junit;



public class CustomRouteTestKitTest extends JUnitCustomRouteTestKit {

    @Test
    public void testSimpleRoute() {
        TestRoute simpleRoute = testRoute(InfoRouteWithActor.class);
        RouteResultInfo routeInfo = simpleRoute.run(HttpRequest.GET("/increment/10"))