Пример #1
0
  @Test
  public void testGetIDPConfig() throws Exception {
    ExternalIDPDTO dto = ExternalIDPMapper.getExternalIDPDTO(IDPConfigUtil.createIDPConfig());

    IDPConfig config = ExternalIDPMapper.getIDPConfig(dto);

    IDPConfigUtil.assertIDMEqual(dto, config);
  }
Пример #2
0
  @Test
  public void testGetExternalIDPDTO() throws Exception {
    IDPConfig config = IDPConfigUtil.createIDPConfig();

    ExternalIDPDTO dto = ExternalIDPMapper.getExternalIDPDTO(config);

    IDPConfigUtil.assertDTOEqual(config, dto);
  }