@Test
public void getContentMigratorResourceResolver() throws LoginException {

    when(resolverFactory.getServiceResourceResolver(Mockito.any())).thenReturn(resolver);
    ResourceResolver serviceResolver = service.getContentMigratorResourceResolver();
    assertEquals(resolver, serviceResolver);
}