import org.testng.Assert; import java.util.Arrays; import java.util.List; public class ExampleTest { @Test public void testEqualLists() { ListIn this example, we have two lists, `listOne` and `listTwo`, with the same elements but in different orders. The `assertEqualsNoOrder` method checks that these lists are equal, regardless of their order. The package library here is org.testng, which provides a framework for testing Java applications.listOne = Arrays.asList(1, 2, 3); List listTwo = Arrays.asList(3, 2, 1); Assert.assertEqualsNoOrder(listOne.toArray(), listTwo.toArray()); } }