public static String getAttributesXml( Map<String, Map<String, String>> attributesMap ) {
    return getAttributesXml( attributesMap, XML_TAG );
  }
@Test
  public void testGetAttributesXml_DefaultTag() {
    try ( MockedStatic<AttributesUtil> attributesUtilMockedStatic = mockStatic( AttributesUtil.class ) ) {
      attributesUtilMockedStatic.when( () -> AttributesUtil.getAttributesXml( anyMap() ) ).thenCallRealMethod();
      attributesUtilMockedStatic.when( () -> AttributesUtil.getAttributesXml( anyMap(), anyString() ) ).thenCallRealMethod();

      Map<String, String> attributesGroup = new HashMap<>();
      Map<String, Map<String, String>> attributesMap = new HashMap<>();
      attributesGroup.put( A_KEY, A_VALUE );
      attributesMap.put( A_GROUP, attributesGroup );

      String attributesXml = AttributesUtil.getAttributesXml( attributesMap );

      assertNotNull( attributesXml );

      // The default tag was used
      assertTrue( attributesXml.contains( AttributesUtil.XML_TAG ) );

      // The group is present
      assertTrue( attributesXml.contains( A_GROUP ) );

      // Both Key and Value are present
      assertTrue( attributesXml.contains( A_KEY ) );
      assertTrue( attributesXml.contains( A_VALUE ) );
    }
  }