tck/src/main/java/org/hobsoft/microbrowser/tck/ControlTck.java
@Test
	public void unwrapWithUnknownTypeThrowsException()
	{
		server().enqueue(new MockResponse().setBody("<html><body>"
			+ "<form name='f'>"
			+ "<input type='text' name='x'/>"
			+ "</form>"
			+ "</body></html>"));
		
		Control control = newBrowser().get(url(server()))
			.getForm("f")
			.getControl("x");

		thrown().expect(IllegalArgumentException.class);
		thrown().expectMessage("Cannot unwrap to: class java.lang.Void");
		
		control.unwrap(Void.class);
	}
@Test
	public void unwrapWithUnknownTypeThrowsException()
	{
		server().enqueue(new MockResponse().setBody("<html><body>"
			+ "<form name='f'>"
			+ "<input type='text' name='x'/>"
			+ "</form>"
			+ "</body></html>"));
		
		Control control = newBrowser().get(url(server()))
			.getForm("f")
			.getControl("x");

		thrown().expect(IllegalArgumentException.class);
		thrown().expectMessage("Cannot unwrap to: class java.lang.Void");
		
		control.unwrap(Void.class);
	}
----------------------------------------------------------------------------------------------------------------