@Test
	public void getPropertyReturnsProperty()
	{
		server().enqueue(new MockResponse().setBody("<html><body>"
			+ "<div itemscope='itemscope' itemtype='http://i'>"
			+ "<p itemprop='x'/>"
			+ "</div>"
			+ "</body></html>"));
		
		MicrodataProperty actual = newBrowser().get(url(server()))
			.getItem("http://i")
			.getProperty("x");
		
		assertThat("item property", actual.getName(), is("x"));
	}
@Test
	public void getPropertyReturnsProperty()
	{
		server().enqueue(new MockResponse().setBody("<html><body>"
			+ "<div itemscope='itemscope' itemtype='http:
			+ "<p itemprop='x'/>"
			+ "</div>"
			+ "</body></html>"));
		
		MicrodataProperty actual = newBrowser().get(url(server()))
			.getItem("http:
			.getProperty("x");
		
		assertThat("item property", actual.getName(), is("x"));
	}
@ Test public void getPropertyReturnsProperty ( ) { server ( ) . enqueue ( new MockResponse ( ) . setBody ( "<html><body>" + "<div itemscope='itemscope' itemtype='http://i'>" + "<p itemprop='x'/>" + "</div>" + "</body></html>" ) ) ; MicrodataProperty actual = newBrowser ( ) . get ( url ( server ( ) ) ) . getItem ( "http://i" ) . getProperty ( "x" ) ; assertThat ( "item property" , actual . getName ( ) , is ( "x" ) ) ; }
----------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------