// Path: src/main/java/jp/eisbahn/oauth2/server/endpoint/Token.java
// public static class Response {
// 
// 	private int code;
// 	private String body;
// 
// 	/**
// 	 * Initialize this instance with arguments passed.
// 	 * @param code The status code as the result of issuing a token.
// 	 * @param body The JSON string which has a token information.
// 	 */
// 	public Response(int code, String body) {
// 		super();
// 		this.code = code;
// 		this.body = body;
// 	}
// 
// 	/**
// 	 * Retrieve the status code value.
// 	 * This status code will be 200 when the issuing token is succeeded.
// 	 * If an error occurs, the code will be the 300 series value.
// 	 * @return The HTTP status code value.
// 	 */
// 	public int getCode() {
// 		return code;
// 	}
// 
// 	/**
// 	 * Retrieve the JSON string which has a token information.
// 	 * The JSON string has the access token, refresh token, expires_in
// 	 * value and the scope string. If the issuing a token failed,
// 	 * this json string has the error type and description.
// 	 * @return The JSON string value.
// 	 */
// 	public String getBody() {
// 		return body;
// 	}
// 
// }


import jp.eisbahn.oauth2.server.endpoint.Token.Response;
import static org.junit.Assert.*;
import org.junit.Test;
/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements. See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership. The ASF licenses this file
 * to you 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 jp.eisbahn.oauth2.server.endpoint;




public class TokenResponseTest {

	@Test
	public void testSimple() {
// Path: src/main/java/jp/eisbahn/oauth2/server/endpoint/Token.java
// public static class Response {
// 
// 	private int code;
// 	private String body;
// 
// 	/**
// 	 * Initialize this instance with arguments passed.
// 	 * @param code The status code as the result of issuing a token.
// 	 * @param body The JSON string which has a token information.
// 	 */
// 	public Response(int code, String body) {
// 		super();
// 		this.code = code;
// 		this.body = body;
// 	}
// 
// 	/**
// 	 * Retrieve the status code value.
// 	 * This status code will be 200 when the issuing token is succeeded.
// 	 * If an error occurs, the code will be the 300 series value.
// 	 * @return The HTTP status code value.
// 	 */
// 	public int getCode() {
// 		return code;
// 	}
// 
// 	/**
// 	 * Retrieve the JSON string which has a token information.
// 	 * The JSON string has the access token, refresh token, expires_in
// 	 * value and the scope string. If the issuing a token failed,
// 	 * this json string has the error type and description.
// 	 * @return The JSON string value.
// 	 */
// 	public String getBody() {
// 		return body;
// 	}
// 
// }


// Path: src/test/java/jp/eisbahn/oauth2/server/endpoint/TokenResponseTest.java
import jp.eisbahn.oauth2.server.endpoint.Token.Response;
import static org.junit.Assert.*;
import org.junit.Test;

/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements. See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership. The ASF licenses this file
 * to you 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 jp.eisbahn.oauth2.server.endpoint;




public class TokenResponseTest {

	@Test
	public void testSimple() {
		Response target = new Response(200, "body1");