@Test
public void testAroundWritePageWithoutExtensionContextResolver()
	throws IOException {

	ReflectionTestUtil.setFieldValue(
		_pageEntityExtensionWriterInterceptor, "_providers",
		JAXRSExtensionContextUtil.getNoContextResolverProviders());
	Page<Object> page = Page.of(
		Collections.singleton(JAXRSExtensionContextUtil.getTestObject()));
	Mockito.when(
		_writerInterceptorContext.getEntity()
	).thenReturn(
		page
	);
	Mockito.when(
		_writerInterceptorContext.getGenericType()
	).thenReturn(
		new GenericType<Page<JAXRSExtensionContextUtil.TestObject>>() {
		}.getType()
	);
	Mockito.when(
		_writerInterceptorContext.getType()
	).thenReturn(
		(Class)page.getClass()
	);
	_pageEntityExtensionWriterInterceptor.aroundWriteTo(
		_writerInterceptorContext);
	Mockito.verify(
		_writerInterceptorContext, Mockito.never()
	).setEntity(
		any()
	);
	Mockito.verify(
		_writerInterceptorContext, Mockito.never()
	).setGenericType(
		any()
	);
	Mockito.verify(
		_writerInterceptorContext
	).proceed();
}