tck/src/main/java/org/hobsoft/microbrowser/tck/MicrodataDocumentTck.java
@Test
	public void getItemsWhenItemReturnsItem() throws MalformedURLException
	{
		server().enqueue(new MockResponse().setBody("<html><body>"
			+ "<div itemscope='itemscope' itemtype='http://x' itemid='http://y'/>"
			+ "</body></html>"));
		
		List<MicrodataItem> actual = newBrowser().get(url(server()))
			.getItems("http://x");
		
		assertThat("items", actual, contains(item("http://y")));
	}
@Test
	public void getItemsWhenItemReturnsItem() throws MalformedURLException
	{
		server().enqueue(new MockResponse().setBody("<html><body>"
			+ "<div itemscope='itemscope' itemtype='http://x' itemid='http://y'/>"
			+ "</body></html>"));
		
		List<MicrodataItem> actual = newBrowser().get(url(server()))
			.getItems("http://x");
		
		assertThat("items", actual, contains(item("http://y")));
	}
@ Test public void getItemsWhenItemReturnsItem ( ) throws MalformedURLException { server ( ) . enqueue ( new MockResponse ( ) . setBody ( "<html><body>" + "<div itemscope='itemscope' itemtype='http://x' itemid='http://y'/>" + "</body></html>" ) ) ; List < MicrodataItem > actual = newBrowser ( ) . get ( url ( server ( ) ) ) . getItems ( "http://x" ) ; assertThat ( "items" , actual , contains ( item ( "http://y" ) ) ) ; }
----------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------