Search in sources :

Example 1 with Conditions

use of org.assertj.core.internal.Conditions in project assertj-core by joel-costigliola.

the class ConditionsBaseTest method setUp.

@Before
public void setUp() {
    failures = spy(new Failures());
    condition = new TestCondition<>();
    conditions = new Conditions();
    conditions.failures = failures;
}
Also used : Failures(org.assertj.core.internal.Failures) Conditions(org.assertj.core.internal.Conditions) Before(org.junit.Before)

Example 2 with Conditions

use of org.assertj.core.internal.Conditions in project assertj-core by joel-costigliola.

the class IterablesWithConditionsBaseTest method setUp.

@Override
@Before
public void setUp() {
    super.setUp();
    testCondition = new TestCondition<>();
    conditions = spy(new Conditions());
    jedi = new JediCondition();
    jediPower = new JediPowerCondition();
    iterables.conditions = conditions;
}
Also used : JediPowerCondition(org.assertj.core.condition.JediPowerCondition) JediCondition(org.assertj.core.condition.JediCondition) Conditions(org.assertj.core.internal.Conditions) Before(org.junit.Before)

Aggregations

Conditions (org.assertj.core.internal.Conditions)2 Before (org.junit.Before)2 JediCondition (org.assertj.core.condition.JediCondition)1 JediPowerCondition (org.assertj.core.condition.JediPowerCondition)1 Failures (org.assertj.core.internal.Failures)1