Program: 95861
Project: 95861
Buggy source:
@Test public void testBasicStructuralEquality(){
  String asciiGraphs="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
  FlinkAsciiGraphLoader<GraphHeadPojo,VertexPojo,EdgePojo> loader=getLoaderFromString(asciiGraphs);
  GraphCollection<GraphHeadPojo,VertexPojo,EdgePojo> c12=loader.getGraphCollectionByVariables("String_Node_Str","String_Node_Str");
  GraphCollection<GraphHeadPojo,VertexPojo,EdgePojo> c67=loader.getGraphCollectionByVariables("String_Node_Str","String_Node_Str");
  GraphCollection<GraphHeadPojo,VertexPojo,EdgePojo> c126=loader.getGraphCollectionByVariables("String_Node_Str","String_Node_Str","String_Node_Str");
  GraphCollection<GraphHeadPojo,VertexPojo,EdgePojo> c167=loader.getGraphCollectionByVariables("String_Node_Str","String_Node_Str","String_Node_Str");
  EqualityByGraphElementData<GraphHeadPojo,VertexPojo,EdgePojo> equals=new EqualityByGraphElementData<>();
  collectAndAssertTrue(equals.execute(c12,c67));
  collectAndAssertTrue(equals.execute(c126,c167));
  GraphCollection<GraphHeadPojo,VertexPojo,EdgePojo> c36=loader.getGraphCollectionByVariables("String_Node_Str","String_Node_Str");
  GraphCollection<GraphHeadPojo,VertexPojo,EdgePojo> c46=loader.getGraphCollectionByVariables("String_Node_Str","String_Node_Str");
  GraphCollection<GraphHeadPojo,VertexPojo,EdgePojo> c56=loader.getGraphCollectionByVariables("String_Node_Str","String_Node_Str");
  collectAndAssertFalse(equals.execute(c12,c167));
  collectAndAssertFalse(equals.execute(c12,c36));
  collectAndAssertFalse(equals.execute(c12,c46));
  collectAndAssertFalse(equals.execute(c12,c56));
  GraphCollection<GraphHeadPojo,VertexPojo,EdgePojo> emptyCollection=GraphCollection.createEmptyCollection(getConfig());
  collectAndAssertTrue(equals.execute(emptyCollection,emptyCollection));
  collectAndAssertFalse(equals.execute(c12,emptyCollection));
}

Fixed version (ground truth):
@Test public void testBasicStructuralEquality(){
  String asciiGraphs="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
  FlinkAsciiGraphLoader<GraphHeadPojo,VertexPojo,EdgePojo> loader=getLoaderFromString(asciiGraphs);
  GraphCollection<GraphHeadPojo,VertexPojo,EdgePojo> c12=loader.getGraphCollectionByVariables("String_Node_Str","String_Node_Str");
  GraphCollection<GraphHeadPojo,VertexPojo,EdgePojo> c67=loader.getGraphCollectionByVariables("String_Node_Str","String_Node_Str");
  GraphCollection<GraphHeadPojo,VertexPojo,EdgePojo> c126=loader.getGraphCollectionByVariables("String_Node_Str","String_Node_Str","String_Node_Str");
  GraphCollection<GraphHeadPojo,VertexPojo,EdgePojo> c167=loader.getGraphCollectionByVariables("String_Node_Str","String_Node_Str","String_Node_Str");
  EqualityByGraphElementData<GraphHeadPojo,VertexPojo,EdgePojo> equals=new EqualityByGraphElementData<>();
  collectAndAssertTrue(equals.execute(c12,c67));
  collectAndAssertTrue(equals.execute(c126,c167));
  GraphCollection<GraphHeadPojo,VertexPojo,EdgePojo> c36=loader.getGraphCollectionByVariables("String_Node_Str","String_Node_Str");
  GraphCollection<GraphHeadPojo,VertexPojo,EdgePojo> c46=loader.getGraphCollectionByVariables("String_Node_Str","String_Node_Str");
  GraphCollection<GraphHeadPojo,VertexPojo,EdgePojo> c56=loader.getGraphCollectionByVariables("String_Node_Str","String_Node_Str");
  collectAndAssertFalse(equals.execute(c12,c167));
  collectAndAssertFalse(equals.execute(c12,c36));
  collectAndAssertFalse(equals.execute(c12,c46));
  collectAndAssertFalse(equals.execute(c12,c56));
  GraphCollection<GraphHeadPojo,VertexPojo,EdgePojo> emptyCollection=GraphCollection.createEmptyCollection(getConfig());
  collectAndAssertTrue(equals.execute(emptyCollection,emptyCollection));
  collectAndAssertFalse(equals.execute(c12,emptyCollection));
  collectAndAssertFalse(equals.execute(emptyCollection,c12));
}