use of com.epam.ta.reportportal.ws.model.launch.Mode in project commons-dao by reportportal.
the class PreconditionsTest method hasModePositive.
@Test
void hasModePositive() {
Mode mode = Mode.DEFAULT;
Assertions.assertTrue(Preconditions.hasMode(mode).test(filterConditionWithMode(mode)));
}
use of com.epam.ta.reportportal.ws.model.launch.Mode in project commons-dao by reportportal.
the class PreconditionsTest method hasModeNegative.
@Test
void hasModeNegative() {
Mode mode = Mode.DEFAULT;
Mode anotherMode = Mode.DEBUG;
Assertions.assertFalse(Preconditions.hasMode(mode).test(filterConditionWithMode(anotherMode)));
}