tck/src/main/java/org/hobsoft/microbrowser/tck/FormMethodTck.java
@Test
	public void submitSubmitsRequest() throws InterruptedException
	{
		server().enqueue(new MockResponse().setBody(String.format("<html><body>"
			+ "<form name='f' method='%s' action='/x'>"
			+ "<input type='submit'/>"
			+ "</form>"
			+ "</body></html>", getMethod())));
		server().enqueue(new MockResponse());
		
		newBrowser().get(url(server()))
			.getForm("f")
			.submit();
		
		server().takeRequest();
		assertThat("request", takeRequest(server()), is(method("/x")));
	}
@Test
	public void submitSubmitsRequest() throws InterruptedException
	{
		server().enqueue(new MockResponse().setBody(String.format("<html><body>"
			+ "<form name='f' method='%s' action='/x'>"
			+ "<input type='submit'/>"
			+ "</form>"
			+ "</body></html>", getMethod())));
		server().enqueue(new MockResponse());
		
		newBrowser().get(url(server()))
			.getForm("f")
			.submit();
		
		server().takeRequest();
		assertThat("request", takeRequest(server()), is(method("/x")));
	}
----------------------------------------------------------------------------------------------------------------