// Path: http/src/main/java/net/javacrumbs/mocksocket/http/HttpMockSocket.java
// public static CombinableMatcher<RequestSocketData> content(Matcher<String> contentMatcher) {
// 	return new CombinableMatcher<RequestSocketData>(new ContentMatcher(contentMatcher));
// }
// 
// Path: http/src/main/java/net/javacrumbs/mocksocket/http/HttpMockSocket.java
// public static CombinableMatcher<RequestSocketData> header(String header, Matcher<String> headerMatcher) {
// 	return new CombinableMatcher<RequestSocketData>(new HeaderMatcher(header, headerMatcher));
// }
// 
// Path: http/src/main/java/net/javacrumbs/mocksocket/http/HttpMockSocket.java
// public static CombinableMatcher<RequestSocketData> status(Matcher<Integer> statusMatcher) {
// 	return new CombinableMatcher<RequestSocketData>(new StatusMatcher(statusMatcher));
// }
// 
// Path: core/src/main/java/net/javacrumbs/mocksocket/connection/data/RequestSocketData.java
// public interface RequestSocketData extends SocketData{
// 
// 	public String getAddress();
// }


import static net.javacrumbs.mocksocket.http.HttpMockSocket.content;
import static net.javacrumbs.mocksocket.http.HttpMockSocket.header;
import static net.javacrumbs.mocksocket.http.HttpMockSocket.status;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import net.javacrumbs.mocksocket.connection.data.RequestSocketData;
import org.junit.Test;
	};

	@Test
	public void testMatchStatus()
	{
		assertThat(REQUEST, status(is(200)));
	}
	@Test(expected=AssertionError.class)
	public void testDoNotMatchStatus()
	{
		assertThat(REQUEST, status(is(300)));
	}
	@Test
	public void testMatchHeader()
	{
		assertThat(REQUEST, header("Last-Modified", is("Wed, 10 Mar 2010 19:11:49 GMT")));
	}
	@Test(expected=AssertionError.class)
	public void testDoMatchHeader()
	{
		assertThat(REQUEST, header("Last-Modified", is("Tue, 10 Mar 2010 19:11:49 GMT")));
	}
	@Test(expected=AssertionError.class)
	public void testDoMatchHeaderNotPresent()
	{
		assertThat(REQUEST, header("Expires", is("Tue, 10 Mar 2010 19:11:49 GMT")));
	}
	@Test
	public void testMatchContent()
	{
// Path: http/src/main/java/net/javacrumbs/mocksocket/http/HttpMockSocket.java
// public static CombinableMatcher<RequestSocketData> content(Matcher<String> contentMatcher) {
// 	return new CombinableMatcher<RequestSocketData>(new ContentMatcher(contentMatcher));
// }
// 
// Path: http/src/main/java/net/javacrumbs/mocksocket/http/HttpMockSocket.java
// public static CombinableMatcher<RequestSocketData> header(String header, Matcher<String> headerMatcher) {
// 	return new CombinableMatcher<RequestSocketData>(new HeaderMatcher(header, headerMatcher));
// }
// 
// Path: http/src/main/java/net/javacrumbs/mocksocket/http/HttpMockSocket.java
// public static CombinableMatcher<RequestSocketData> status(Matcher<Integer> statusMatcher) {
// 	return new CombinableMatcher<RequestSocketData>(new StatusMatcher(statusMatcher));
// }
// 
// Path: core/src/main/java/net/javacrumbs/mocksocket/connection/data/RequestSocketData.java
// public interface RequestSocketData extends SocketData{
// 
// 	public String getAddress();
// }


// Path: http/src/test/java/net/javacrumbs/mocksocket/http/HttpMatchersTest.java
import static net.javacrumbs.mocksocket.http.HttpMockSocket.content;
import static net.javacrumbs.mocksocket.http.HttpMockSocket.header;
import static net.javacrumbs.mocksocket.http.HttpMockSocket.status;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import net.javacrumbs.mocksocket.connection.data.RequestSocketData;
import org.junit.Test;

	};

	@Test
	public void testMatchStatus()
	{
		assertThat(REQUEST, status(is(200)));
	}
	@Test(expected=AssertionError.class)
	public void testDoNotMatchStatus()
	{
		assertThat(REQUEST, status(is(300)));
	}
	@Test
	public void testMatchHeader()
	{
		assertThat(REQUEST, header("Last-Modified", is("Wed, 10 Mar 2010 19:11:49 GMT")));
	}
	@Test(expected=AssertionError.class)
	public void testDoMatchHeader()
	{
		assertThat(REQUEST, header("Last-Modified", is("Tue, 10 Mar 2010 19:11:49 GMT")));
	}
	@Test(expected=AssertionError.class)
	public void testDoMatchHeaderNotPresent()
	{
		assertThat(REQUEST, header("Expires", is("Tue, 10 Mar 2010 19:11:49 GMT")));
	}
	@Test
	public void testMatchContent()
	{
		assertThat(REQUEST, content(is("Test")));