// Path: src/test/java/com/github/ggeorgovassilis/springjsonmapper/services/jaxrs/BankServiceJaxRs.java
// public interface BankServiceJaxRs extends BankService {
// 
// 	@Override
// 	@POST
// 	@Path("/transfer")
// 	Account transfer(@BeanParam @QueryParam("fromAccount") Account fromAccount,
// 			@BeanParam @QueryParam("actor") Customer actor, @BeanParam @QueryParam("toAccount") Account toAccount,
// 			@BeanParam @QueryParam("amount") int amount,
// 			@QueryParam("sendConfirmationSms") boolean sendConfirmationSms);
// 
// 	@Override
// 	@POST
// 	@Path("/verify")
// 	Boolean checkAccount(@BeanParam Account account);
// 
// 	@Override
// 	@POST
// 	@Path("/photo")
// 	@Consumes({ "image/gif", "image/jpeg", "image/png" })
// 	@Produces({ "image/jpeg" })
// 	byte[] updatePhoto(@QueryParam("name") String name, @BeanParam byte[] photo);
// 
// 	@Override
// 	@POST
// 	@Path("/join-accounts")
// 	Account joinAccounts(@FormParam("") @QueryParam("account1") Account account1,
// 			@FormParam("") @QueryParam("account2") Account account2);
// 
// 	@Override
// 	@POST
// 	@Path("/authenticate")
// 	Customer authenticate(@FormParam("") @QueryParam("name") String name,
// 			@FormParam("") @QueryParam("password") String password, @CookieParam("sid") String sessionId);
// 
// 	@Override
// 	@Path("/accounts/{id}")
// 	Account getAccount(@PathParam("id") int id);
// 
// 	@Override
// 	@Path("/session/check")
// 	boolean isSessionAlive(@HeaderParam("X-SessionId") String sid);
// 
// 	@Override
// 	@Path("/${domain}/customer/{name}")
// 	boolean doesCustomerExist(@PathParam("name") String name);
// 
// 	@Override
// 	@Path("/${domain}/customer/{name}")
// 	@Headers({"X-header-1=value1","X-header-2=value2"})
// 	boolean doesCustomerExist2(@PathParam("name") String name);
// 
// 	@Override
// 	@Path(value = "/accounts")
// 	List<Account> getAllAccounts();
// }


import org.springframework.test.context.ContextConfiguration;
import com.github.ggeorgovassilis.springjsonmapper.services.jaxrs.BankServiceJaxRs;
package com.github.ggeorgovassilis.springjsonmapper.tests;



/**
 * Tests a more complex scenario with recorded HTTP requests and responses using
 * the {@link JaxRsInvokerProxyFactoryBean}
 * 
 * @author george georgovassilis
 * 
 */
@ContextConfiguration("classpath:test-context-bank-jaxrs.xml")
public class BankServiceJaxRsTest extends AbstractBankServiceTest {

	@Override
	protected String getExpectedServiceName() {
// Path: src/test/java/com/github/ggeorgovassilis/springjsonmapper/services/jaxrs/BankServiceJaxRs.java
// public interface BankServiceJaxRs extends BankService {
// 
// 	@Override
// 	@POST
// 	@Path("/transfer")
// 	Account transfer(@BeanParam @QueryParam("fromAccount") Account fromAccount,
// 			@BeanParam @QueryParam("actor") Customer actor, @BeanParam @QueryParam("toAccount") Account toAccount,
// 			@BeanParam @QueryParam("amount") int amount,
// 			@QueryParam("sendConfirmationSms") boolean sendConfirmationSms);
// 
// 	@Override
// 	@POST
// 	@Path("/verify")
// 	Boolean checkAccount(@BeanParam Account account);
// 
// 	@Override
// 	@POST
// 	@Path("/photo")
// 	@Consumes({ "image/gif", "image/jpeg", "image/png" })
// 	@Produces({ "image/jpeg" })
// 	byte[] updatePhoto(@QueryParam("name") String name, @BeanParam byte[] photo);
// 
// 	@Override
// 	@POST
// 	@Path("/join-accounts")
// 	Account joinAccounts(@FormParam("") @QueryParam("account1") Account account1,
// 			@FormParam("") @QueryParam("account2") Account account2);
// 
// 	@Override
// 	@POST
// 	@Path("/authenticate")
// 	Customer authenticate(@FormParam("") @QueryParam("name") String name,
// 			@FormParam("") @QueryParam("password") String password, @CookieParam("sid") String sessionId);
// 
// 	@Override
// 	@Path("/accounts/{id}")
// 	Account getAccount(@PathParam("id") int id);
// 
// 	@Override
// 	@Path("/session/check")
// 	boolean isSessionAlive(@HeaderParam("X-SessionId") String sid);
// 
// 	@Override
// 	@Path("/${domain}/customer/{name}")
// 	boolean doesCustomerExist(@PathParam("name") String name);
// 
// 	@Override
// 	@Path("/${domain}/customer/{name}")
// 	@Headers({"X-header-1=value1","X-header-2=value2"})
// 	boolean doesCustomerExist2(@PathParam("name") String name);
// 
// 	@Override
// 	@Path(value = "/accounts")
// 	List<Account> getAllAccounts();
// }


// Path: src/test/java/com/github/ggeorgovassilis/springjsonmapper/tests/BankServiceJaxRsTest.java
import org.springframework.test.context.ContextConfiguration;
import com.github.ggeorgovassilis.springjsonmapper.services.jaxrs.BankServiceJaxRs;

package com.github.ggeorgovassilis.springjsonmapper.tests;



/**
 * Tests a more complex scenario with recorded HTTP requests and responses using
 * the {@link JaxRsInvokerProxyFactoryBean}
 * 
 * @author george georgovassilis
 * 
 */
@ContextConfiguration("classpath:test-context-bank-jaxrs.xml")
public class BankServiceJaxRsTest extends AbstractBankServiceTest {

	@Override
	protected String getExpectedServiceName() {
		return BankServiceJaxRs.class.getName();