use of org.finra.herd.model.api.xml.SubjectMatterExpertKey in project herd by FINRAOS.
the class SubjectMatterExpertServiceTest method testGetSubjectMatterExpert.
@Test
public void testGetSubjectMatterExpert() throws Exception {
// Get subject matter expert information.
SubjectMatterExpert result = subjectMatterExpertService.getSubjectMatterExpert(new SubjectMatterExpertKey(USER_ID));
// Validate the returned object.
assertEquals(new SubjectMatterExpert(new SubjectMatterExpertKey(USER_ID), new SubjectMatterExpertContactDetails(USER_FULL_NAME, USER_JOB_TITLE, USER_EMAIL_ADDRESS, USER_TELEPHONE_NUMBER)), result);
}
Aggregations