@Then("^she has (\\d+) dots in all her attributes$") public void she_has_dots_in_all_her_attributes(int value) throws Throwable { for (AttributeType type : AttributeType.values()) { assertThatAttributeHasValueOf(type, value); } }
@Then("^she has (\\d+) dots in attribute (.*)$") public void she_has_dots_in_attribute(int value, String traitId) throws Throwable { AttributeType type = AttributeType.valueOf(traitId); assertThatAttributeHasValueOf(type, value); }