@Test
public void testGetNestedFieldsWithoutOverridingMethod()
	throws IOException {

	Product product = _toProduct(1L, "externalCode");
	Mockito.when(
		_writerInterceptorContext.getEntity()
	).thenReturn(
		product
	);
	Mockito.doReturn(
		new NestedFieldsHttpServletRequestWrapperTest.
			MockHttpServletRequest("externalCode")
	).when(
		_nestedFieldServiceTrackerCustomizer
	).getHttpServletRequest(
		Mockito.any(Message.class)
	);
	MultivaluedHashMap<String, String> queryParameters =
		new MultivaluedHashMap<String, String>() {
			{
				putSingle("externalCode.AcceptLanguage", "es_ES");
			}
		};
	NestedFieldsContextThreadLocal.setNestedFieldsContext(
		new NestedFieldsContext(
			Collections.singletonList("externalCode"), new MessageImpl(),
			_getPathParameters(), "v1.0", queryParameters));
	_nestedFieldsWriterInterceptor.aroundWriteTo(_writerInterceptorContext);
	Assert.assertEquals("codigoExterno", product.getExternalCode());
}