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

      String attributesXml = AttributesUtil.getAttributesXml( attributesMap, CUSTOM_TAG );

      assertNotNull( attributesXml );

      // Check that it's not an empty XML fragment
      assertTrue( attributesXml.contains( CUSTOM_TAG ) );
    }
  }