@Test
public void testApplyFetchGroupOrigin() {

  when(originManager.getOrigin(groupOrigin.getId())).thenReturn(groupOrigin);
  assertSame(groupOrigin, resolver.apply(groupOrigin.getId()));
  verify(originManager).getOrigin(groupOrigin.getId());
  verifyNoMoreInteractions(originManager);
  verifyZeroInteractions(subjectResolver);
}