Skip to content

Commit c14a452

Browse files
#3835 imports
1 parent 1f431cc commit c14a452

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

modules/flowable-assertions/flowable-process-assertions/src/main/java/org/flowable/assertions/process/HistoricProcessInstanceAssert.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@
1313

1414
package org.flowable.assertions.process;
1515

16+
import static org.assertj.core.api.Assertions.assertThat;
17+
import static org.flowable.assertions.process.Utils.getProcessDescription;
18+
import static org.flowable.assertions.process.Utils.getProcessEngine;
19+
1620
import org.assertj.core.api.AbstractAssert;
17-
import org.assertj.core.api.Assertions;
1821
import org.assertj.core.api.ListAssert;
1922
import org.flowable.engine.ProcessEngine;
2023
import org.flowable.engine.history.HistoricActivityInstance;
@@ -24,13 +27,9 @@
2427
import org.flowable.task.api.history.HistoricTaskInstance;
2528
import org.flowable.variable.api.history.HistoricVariableInstance;
2629

27-
import static org.flowable.assertions.process.FlowableProcessAssertions.assertThat;
28-
import static org.flowable.assertions.process.Utils.*;
29-
3030
/**
3131
* @author martin.grofcik
3232
*/
33-
3433
public class HistoricProcessInstanceAssert extends AbstractAssert<HistoricProcessInstanceAssert, HistoricProcessInstance> {
3534

3635
protected final ProcessServicesProvider processServicesProvider;
@@ -121,7 +120,7 @@ public HistoricProcessInstanceAssert hasVariableWithValue(String variableName, O
121120
hasVariable(variableName);
122121

123122
HistoricVariableInstance actualVariable = processServicesProvider.getHistoryService().createHistoricVariableInstanceQuery().processInstanceId(actual.getId()).variableName(variableName).singleResult();
124-
Assertions.assertThat(actualVariable.getValue()).isEqualTo(expectedValue);
123+
assertThat(actualVariable.getValue()).isEqualTo(expectedValue);
125124
return this;
126125
}
127126

0 commit comments

Comments
 (0)