// Path: chapter06/src/main/java/com/prancingdonkey/reciclingplant/RecicledCountRequest.java
// public class RecicledCountRequest {
// 	
// 	String type;
// 
// 	public String getType() {
// 		return type;
// 	}
// 
// 	public void setType(String type) {
// 		this.type = type;
// 	}
// 	 
// }


import static org.hamcrest.CoreMatchers.instanceOf;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import org.junit.Test;
import org.mule.api.MuleMessage;
import org.mule.module.client.MuleClient;
import org.mule.tck.junit4.FunctionalTestCase;
import com.prancingdonkey.reciclingplant.RecicledCountRequest;

package com.muleinaction.pattern.service;




public class PatternServiceInheritanceTestCase extends FunctionalTestCase
{

    @Override
    protected String getConfigResources()
    {
        return "pattern/service/pattern-service-inheritance.xml";
    }

    @Test
    public void testSimpleValidator() throws Exception
    {
        MuleClient muleClient = new MuleClient(muleContext);

// Path: chapter06/src/main/java/com/prancingdonkey/reciclingplant/RecicledCountRequest.java
// public class RecicledCountRequest {
// 	
// 	String type;
// 
// 	public String getType() {
// 		return type;
// 	}
// 
// 	public void setType(String type) {
// 		this.type = type;
// 	}
// 	 
// }


// Path: chapter06/src/test/java/com/muleinaction/pattern/service/PatternServiceInheritanceTestCase.java
import static org.hamcrest.CoreMatchers.instanceOf;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import org.junit.Test;
import org.mule.api.MuleMessage;
import org.mule.module.client.MuleClient;
import org.mule.tck.junit4.FunctionalTestCase;
import com.prancingdonkey.reciclingplant.RecicledCountRequest;


package com.muleinaction.pattern.service;




public class PatternServiceInheritanceTestCase extends FunctionalTestCase
{

    @Override
    protected String getConfigResources()
    {
        return "pattern/service/pattern-service-inheritance.xml";
    }

    @Test
    public void testSimpleValidator() throws Exception
    {
        MuleClient muleClient = new MuleClient(muleContext);

        RecicledCountRequest payload = new RecicledCountRequest();