@Test public void testGetIDPConfig() throws Exception { ExternalIDPDTO dto = ExternalIDPMapper.getExternalIDPDTO(IDPConfigUtil.createIDPConfig()); IDPConfig config = ExternalIDPMapper.getIDPConfig(dto); IDPConfigUtil.assertIDMEqual(dto, config); }
@Test public void testGetExternalIDPDTO() throws Exception { IDPConfig config = IDPConfigUtil.createIDPConfig(); ExternalIDPDTO dto = ExternalIDPMapper.getExternalIDPDTO(config); IDPConfigUtil.assertDTOEqual(config, dto); }