tck/src/main/java/org/hobsoft/microbrowser/tck/MicrodataDocumentTck.java
@Test
	public void getFormReturnsForm()
	{
		server().enqueue(new MockResponse().setBody("<html><body>"
			+ "<form name='x'/>"
			+ "</body></html>"));
		
		Form actual = newBrowser().get(url(server()))
			.getForm("x");
		
		assertThat("form", actual.getName(), is("x"));
	}
@Test
	public void getFormReturnsForm()
	{
		server().enqueue(new MockResponse().setBody("<html><body>"
			+ "<form name='x'/>"
			+ "</body></html>"));
		
		Form actual = newBrowser().get(url(server()))
			.getForm("x");
		
		assertThat("form", actual.getName(), is("x"));
	}
@ Test public void getFormReturnsForm ( ) { server ( ) . enqueue ( new MockResponse ( ) . setBody ( "<html><body>" + "<form name='x'/>" + "</body></html>" ) ) ; Form actual = newBrowser ( ) . get ( url ( server ( ) ) ) . getForm ( "x" ) ; assertThat ( "form" , actual . getName ( ) , is ( "x" ) ) ; }
----------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------