@Test
public void testAroundWritePageWithExtensionContextWithNoExtendedType()
	throws IOException {

	Page<Object> page = Page.of(Collections.singleton(new Object()));
	Mockito.when(
		_writerInterceptorContext.getEntity()
	).thenReturn(
		page
	);
	Mockito.when(
		_writerInterceptorContext.getGenericType()
	).thenReturn(
		new GenericType<Page<Object>>() {
		}.getType()
	);
	Mockito.when(
		_writerInterceptorContext.getType()
	).thenReturn(
		(Class)Object.class
	);
	_pageEntityExtensionWriterInterceptor.aroundWriteTo(
		_writerInterceptorContext);
	Mockito.verify(
		_writerInterceptorContext, Mockito.never()
	).setEntity(
		any()
	);
	Mockito.verify(
		_writerInterceptorContext, Mockito.never()
	).setGenericType(
		any()
	);
	Mockito.verify(
		_writerInterceptorContext
	).proceed();
}