	@Test
	public void testResourceTypeHierarchyWithNoCycle() throws IOException, ServletException {

		AEMDataLayerInterceptorFilter filter = context.getService(AEMDataLayerInterceptorFilter.class);

		context.currentPage("/test/page-with-cloud-config");

		assertThat(filter.resourceHierarchyHasACycle(context.currentResource())).as("has a cycle should be false")
				.isFalse();
	}