aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/language/src/testFixtures/java/tools/refinery/language/model/tests/utils/WrappedConsequent.java
blob: 8d6a92f8b6fcf215d8d106612b79c1eac6ad00f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * SPDX-FileCopyrightText: 2021-2023 The Refinery Authors <https://refinery.tools/>
 *
 * SPDX-License-Identifier: EPL-2.0
 */
package tools.refinery.language.model.tests.utils;

import tools.refinery.language.model.problem.Consequent;

public record WrappedConsequent(Consequent consequent) {
	public Consequent get() {
		return consequent;
	}

	public WrappedAction action(int i) {
		return new WrappedAction(consequent.getActions().get(i));
	}
}