@Test
public void testResolveAllowedInvalidClass() throws Exception {

	_updateProperties("invalidClass", "");
	try {
		_liferayTemplateClassResolver.resolve("invalidClass", null, null);
		Assert.fail();
	}
	catch (TemplateException templateException) {
		ClassNotFoundException classNotFoundException =
			(ClassNotFoundException)templateException.getCause();
		Assert.assertEquals(
			"invalidClass", classNotFoundException.getMessage());
	}
}