@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:
			+ "</body></html>"));
		
		List<MicrodataItem> actual = newBrowser().get(url(server()))
			.getItems("http:
		
		assertThat("items", actual, contains(item("http:
	}
@ 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" ) ) ) ; }
----------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------