tck/src/main/java/org/hobsoft/microbrowser/tck/LinkTck.java
@Test
	public void getRelWhenAnchorReturnsRelationship()
	{
		server().enqueue(new MockResponse().setBody("<html><body>"
			+ "<a rel='x'/>"
			+ "</body></html>"));
		
		String actual = newBrowser().get(url(server()))
			.getLink("x")
			.getRel();
		
		assertThat("link rel", actual, is("x"));
	}
@Test
	public void getRelWhenAnchorReturnsRelationship()
	{
		server().enqueue(new MockResponse().setBody("<html><body>"
			+ "<a rel='x'/>"
			+ "</body></html>"));
		
		String actual = newBrowser().get(url(server()))
			.getLink("x")
			.getRel();
		
		assertThat("link rel", actual, is("x"));
	}
@ Test public void getRelWhenAnchorReturnsRelationship ( ) { server ( ) . enqueue ( new MockResponse ( ) . setBody ( "<html><body>" + "<a rel='x'/>" + "</body></html>" ) ) ; String actual = newBrowser ( ) . get ( url ( server ( ) ) ) . getLink ( "x" ) . getRel ( ) ; assertThat ( "link rel" , actual , is ( "x" ) ) ; }
----------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------