Code review comment: maybe use `assertThat` instead for `assertEquals`

Code under review:
private void testPartitionReleaseAfterFinished(Consumer<Execution> postFinishedExecutionAction) throws Exception {
		final Tuple2<JobID, Collection<ResultPartitionID>> releasedPartitions = Tuple2.of(null, null);
		final SimpleAckingTaskManagerGateway taskManagerGateway = new SimpleAckingTaskManagerGateway();
		taskManagerGateway.setReleasePartitionsConsumer(releasedPartitions::setFields);

		final SimpleSlot slot = new SimpleSlot(
			new SingleSlotTestingSlotOwner(),
			new LocalTaskManagerLocation(),
			0,
			taskManagerGateway);

		final JobVertex producerVertex = createNoOpJobVertex();
		final JobVertex consumerVertex = createNoOpJobVertex();
		consumerVertex.connectNewDataSetAsInput(producerVertex, DistributionPattern.ALL_TO_ALL, ResultPartitionType.BLOCKING);

		final ProgrammedSlotProvider slotProvider = new ProgrammedSlotProvider(1);
		slotProvider.addSlot(producerVertex.getID(), 0, CompletableFuture.completedFuture(slot));

		ExecutionGraph executionGraph = ExecutionGraphTestUtils.createSimpleTestGraph(
			new JobID(),
			slotProvider,
			new NoRestartStrategy(),
			producerVertex,
			consumerVertex);

		executionGraph.start(TestingComponentMainThreadExecutorServiceAdapter.forMainThread());

		ExecutionJobVertex executionJobVertex = executionGraph.getJobVertex(producerVertex.getID());
		ExecutionVertex executionVertex = executionJobVertex.getTaskVertices()[0];

		final Execution execution = executionVertex.getCurrentExecutionAttempt();

		execution.allocateAndAssignSlotForExecution(
			slotProvider,
			false,
			LocationPreferenceConstraint.ALL,
			Collections.emptySet(),
			TestingUtils.infiniteTime());

		execution.deploy();
		execution.switchToRunning();

		
		
		
		execution.markFinished();
		postFinishedExecutionAction.accept(execution);

		assertEquals(executionGraph.getJobID(), releasedPartitions.f0);
		assertEquals(executionVertex.getProducedPartitions().size(), releasedPartitions.f1.size());
		for (ResultPartitionID partitionId : releasedPartitions.f1) {
			IntermediateResultPartition intermediateResultPartition = executionVertex
				.getProducedPartitions()
				.get(partitionId.getPartitionId());
			assertNotNull(intermediateResultPartition);
			assertEquals(execution.getAttemptId(), partitionId.getProducerId());
		}
	}

Line commented on: assertEquals(executionGraph.getJobID(), releasedPartitions.f0);

Revised code:
private void testPartitionReleaseAfterFinished(Consumer<Execution> postFinishedExecutionAction) throws Exception {
		final Tuple2<JobID, Collection<ResultPartitionID>> releasedPartitions = Tuple2.of(null, null);
		final SimpleAckingTaskManagerGateway taskManagerGateway = new SimpleAckingTaskManagerGateway();
		taskManagerGateway.setReleasePartitionsConsumer(releasedPartitions::setFields);

		final JobVertex producerVertex = createNoOpJobVertex();
		final JobVertex consumerVertex = createNoOpJobVertex();
		consumerVertex.connectNewDataSetAsInput(producerVertex, DistributionPattern.ALL_TO_ALL, ResultPartitionType.BLOCKING);

		final SimpleSlot slot = new SimpleSlot(
			new SingleSlotTestingSlotOwner(),
			new LocalTaskManagerLocation(),
			0,
			taskManagerGateway);

		final ProgrammedSlotProvider slotProvider = new ProgrammedSlotProvider(1);
		slotProvider.addSlot(producerVertex.getID(), 0, CompletableFuture.completedFuture(slot));

		ExecutionGraph executionGraph = ExecutionGraphTestUtils.createSimpleTestGraph(
			new JobID(),
			slotProvider,
			new NoRestartStrategy(),
			producerVertex,
			consumerVertex);

		executionGraph.start(TestingComponentMainThreadExecutorServiceAdapter.forMainThread());

		ExecutionJobVertex executionJobVertex = executionGraph.getJobVertex(producerVertex.getID());
		ExecutionVertex executionVertex = executionJobVertex.getTaskVertices()[0];

		final Execution execution = executionVertex.getCurrentExecutionAttempt();

		execution.allocateResourcesForExecution(
			slotProvider,
			false,
			LocationPreferenceConstraint.ALL,
			Collections.emptySet(),
			TestingUtils.infiniteTime());

		execution.deploy();
		execution.switchToRunning();

		
		
		
		execution.markFinished();
		postFinishedExecutionAction.accept(execution);

		assertEquals(executionGraph.getJobID(), releasedPartitions.f0);
		assertEquals(executionVertex.getProducedPartitions().size(), releasedPartitions.f1.size());
		for (ResultPartitionID partitionId : releasedPartitions.f1) {
			
			IntermediateResultPartition intermediateResultPartition = executionVertex
				.getProducedPartitions()
				.get(partitionId.getPartitionId());
			assertNotNull(intermediateResultPartition);
			assertEquals(execution.getAttemptId(), partitionId.getProducerId());
		}
	}