/** {@inheritDoc} */ public void testSingleElementOptionalAttributesUnmarshall() { NameIDMappingService service = (NameIDMappingService) unmarshallElement(singleElementOptionalAttributesFile); assertEquals("Binding URI was not expected value", expectedBinding, service.getBinding()); assertEquals("Location was not expected value", expectedLocation, service.getLocation()); assertEquals( "ResponseLocation was not expected value", expectedResponseLocation, service.getResponseLocation()); ; }
/** {@inheritDoc} */ public void testSingleElementUnmarshall() { NameIDMappingService service = (NameIDMappingService) unmarshallElement(singleElementFile); assertEquals("Binding URI was not expected value", expectedBinding, service.getBinding()); assertEquals("Location was not expected value", expectedLocation, service.getLocation()); }