@Test
public void testResolveSubjectFound() {

  Subject model = Subject.builder()
          .setId(UUID.randomUUID())
          .setName("name")
          .build();
  when(subjectResolver.resolveSubject(isA(UUID.class))).thenReturn(model);
  SubjectInfoSEB seb = resolver.apply(model.getId());
  assertNotNull(seb);
  assertEquals(model.getId(), seb.getId());
  assertEquals(model.getName(), seb.getName());
  verify(subjectResolver).resolveSubject(model.getId());
}