use of com.paulhammant.buildradiator.radiator.model.UnknownStep in project BuildRadiator by BuildRadiator.
the class RadiatorUnitTest method radiatorCanIgnoreABogusStepName.
@Test
public void radiatorCanIgnoreABogusStepName() throws InterruptedException, JsonProcessingException {
Radiator rad = new RadiatorStore().createRadiator(new TestRandomGenerator("X", "sseeccrreett"), "A");
try {
rad.startStep("1", "NoMatch");
fail();
} catch (UnknownStep e) {
}
assertRadiatorsEqualIgnoringLastUpdatedField(rad, rad("X", "sseeccrreett", stepNames("A"), build("1", "", 0, step("A", 0, ""))));
}
Aggregations