tck/src/main/java/org/hobsoft/microbrowser/tck/MicrodataPropertyTck.java
@Test
	public void getBooleanValueWhenTrueReturnsTrue()
	{
		server().enqueue(new MockResponse().setBody("<html><body>"
			+ "<div itemscope='itemscope' itemtype='http://i'>"
			+ "<p itemprop='p'>true</p>"
			+ "</div>"
			+ "</body></html>"));
		
		boolean actual = newBrowser().get(url(server()))
			.getItem("http://i")
			.getProperty("p")
			.getBooleanValue();
		
		assertThat("item property value", actual, is(true));
	}
@Test
	public void getBooleanValueWhenTrueReturnsTrue()
	{
		server().enqueue(new MockResponse().setBody("<html><body>"
			+ "<div itemscope='itemscope' itemtype='http://i'>"
			+ "<p itemprop='p'>true</p>"
			+ "</div>"
			+ "</body></html>"));
		
		boolean actual = newBrowser().get(url(server()))
			.getItem("http://i")
			.getProperty("p")
			.getBooleanValue();
		
		assertThat("item property value", actual, is(true));
	}
@ Test public void getBooleanValueWhenTrueReturnsTrue ( ) { server ( ) . enqueue ( new MockResponse ( ) . setBody ( "<html><body>" + "<div itemscope='itemscope' itemtype='http://i'>" + "<p itemprop='p'>true</p>" + "</div>" + "</body></html>" ) ) ; boolean actual = newBrowser ( ) . get ( url ( server ( ) ) ) . getItem ( "http://i" ) . getProperty ( "p" ) . getBooleanValue ( ) ; assertThat ( "item property value" , actual , is ( true ) ) ; }
----------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------