Page fragment substitution is based on the <dsp:include page="xxx"/> tags in JSP pages and the <droplet src="xxx"> tags in JHTML pages. Page fragments that are invoked in some other way cannot be used in page fragment testing.

Page fragments included by <jsp:include> tags or @include directives should not be used in page fragment test because the substitution will not occur.