when(mockComponent.getAssets()).thenReturn(asList(mock(RawAsset.class)));
Iterable<ComponentEnvelope<RawComponent, RawAsset>> fetchedComponents = asList(mockComponent);
final ImmutableMap<String, String> fetchParameters = ImmutableMap.of("path", PATH);
final ComponentRequest fetchRequest = new ComponentRequest(fetchParameters);
when(source.fetchComponents(eq(fetchRequest))).thenReturn(fetchedComponents);
final ViewResponse handle = handler.handle(context);
verify(source).fetchComponents(eq(fetchRequest));