### Question:
DataLakeNoUserManagementV3 extends AbstractRestInterface { private boolean compareEventProperties(List<EventProperty> prop1, List<EventProperty> prop2) { if (prop1.size() != prop2.size()) { return false; } return prop1.stream().allMatch(prop -> { for (EventProperty property : prop2) { if (prop.getRuntimeName().equals(property.getRuntimeName())) { if (prop instanceof EventPropertyPrimitive && property instanceof EventPropertyPrimitive) { if (((EventPropertyPrimitive) prop) .getRuntimeType() .equals(((EventPropertyPrimitive) property).getRuntimeType())) { return true; } } else if (prop instanceof EventPropertyList && property instanceof EventPropertyList) { return compareEventProperties(Collections.singletonList(((EventPropertyList) prop).getEventProperty()), Collections.singletonList(((EventPropertyList) property).getEventProperty())); } else if (prop instanceof EventPropertyNested && property instanceof EventPropertyNested) { return compareEventProperties(((EventPropertyNested) prop).getEventProperties(), ((EventPropertyNested) property).getEventProperties()); } } } return false; }); }  boolean addDataLake(String measure, EventSchema eventSchema);  }### Answer:
@Test public void testCompareEventProperties() throws InvocationTargetException, IllegalAccessException { EventProperty property = createEventPropertyPrimitive("A", "type"); boolean result = (boolean) privateMethod.invoke(management, Collections.singletonList(property), Collections.singletonList(property)); assertEquals(true, result); }