@Test
public void testGetNestedFieldsWithNonexistendFieldName() throws Exception {

	Product product = _toProduct(1L, null);
	Mockito.when(
		_writerInterceptorContext.getEntity()
	).thenReturn(
		product
	);
	NestedFieldsContextThreadLocal.setNestedFieldsContext(
		new NestedFieldsContext(
			Collections.emptyList(), new MessageImpl(),
			_getPathParameters(), "v1.0", new MultivaluedHashMap<>()));
	_nestedFieldsWriterInterceptor.aroundWriteTo(_writerInterceptorContext);
	Sku[] skus = product.getSkus();
	Assert.assertNull(skus);
	NestedFieldsContextThreadLocal.setNestedFieldsContext(
		new NestedFieldsContext(
			Collections.singletonList("nonexistent"), new MessageImpl(),
			_getPathParameters(), "v1.0", new MultivaluedHashMap<>()));
	_nestedFieldsWriterInterceptor.aroundWriteTo(_writerInterceptorContext);
	skus = product.getSkus();
	Assert.assertNull(skus);
}