@Test
public void testDisabledComments() throws Exception {

	whenGetEntryThenReturn(_blogsEntry);
	when(
		_portletPreferences.getValue("enableComments", null)
	).thenReturn(
		"false"
	);
	addTrackback();
	assertError("Comments are disabled");
}