@Test public void testResolveContentType() {

	// Act + Assert:
	assertThat(WebFragment.resolveContentType(null), is(WebFragment.CONTENT_EMPTY));
	assertThat(WebFragment.resolveContentType(""), is(WebFragment.CONTENT_EMPTY));
	assertThat(WebFragment.resolveContentType("http://www.google.com"), is(WebFragment.CONTENT_URL));
	assertThat(WebFragment.resolveContentType("<h3>Content</h3>"), is(WebFragment.CONTENT_HTML));
	assertThat(WebFragment.resolveContentType("Content"), is(WebFragment.CONTENT_HTML));
	assertThat(WebFragment.resolveContentType("file://content.html"), is(WebFragment.CONTENT_FILE));
}