@Test
	void testRefactorIntField() {
		// Setup renaming a class 3 times, and a simple int field
		IntermediateMappings mappings1 = new IntermediateMappings();
		IntermediateMappings mappings2 = new IntermediateMappings();
		IntermediateMappings mappings3 = new IntermediateMappings();

		// 'a' renamed to 'b'
		mappings1.addClass("a", "b");
		// 'b' renamed to 'c', so 'a' is now 'c'
		// but also rename the field 'oldName' to 'newName'
		mappings2.addClass("b", "c");
		mappings2.addField("b", "I", "oldName", "newName");
		// 'c' renamed to 'd'
		// but also rename the field from before to 'brandNewName'
		mappings3.addClass("c", "d");
		mappings3.addField("c", "I", "newName", "brandNewName");

		// Setup aggregation
		AggregatedMappings aggregated = new AggregatedMappings(EmptyWorkspace.get());
		// Validate after first mapping pass
		aggregated.update(mappings1);
		assertEquals("b", aggregated.getMappedClassName("a"));
		// Validate after second mapping pass
		aggregated.update(mappings2);
		assertEquals("c", aggregated.getMappedClassName("a"));
		assertEquals("newName", aggregated.getMappedFieldName("a", "oldName", "I"));
		// Validate after third mapping pass
		aggregated.update(mappings3);
		assertEquals("d", aggregated.getMappedClassName("a"));
		assertEquals("brandNewName", aggregated.getMappedFieldName("a", "oldName", "I"));
	}
Tests for {@link AggregatedMappings}

@see AggregateMappingManagerTest
recaf-core/src/test/java/software/coley/recaf/services/mapping/aggregate/AggregateMappingsTest.java