@Test
		void getAllResources() {
			WorkspaceResource primary = new WorkspaceResourceBuilder().build();
			WorkspaceResource supporting1 = new WorkspaceResourceBuilder().build();
			WorkspaceResource supporting2 = new WorkspaceResourceBuilder().build();
			Workspace workspace = new BasicWorkspace(primary, List.of(supporting1, supporting2));

			// Should give us the primary/supporting resources in order.
			List<WorkspaceResource> streamResult = workspace.allResourcesStream(false).toList();
			assertEquals(List.of(primary, supporting1, supporting2), streamResult);

			// Should give us the expected primary/supporting resources, then the internal resources as well in order.
			streamResult = workspace.allResourcesStream(true).toList();
			assertEquals(List.of(primary, supporting1, supporting2, RuntimeWorkspaceResource.getInstance()), streamResult);
		}
Tests for the {@link Workspace} model.
recaf-core/src/test/java/software/coley/recaf/workspace/model/WorkspaceModelTest.java