/**
* @throws Exception
*/
@Test
public void isSuitableForOnepieceSkirtAndPants() throws Exception {
Item first = new Item();
first.setCategory(Category.ONEPIECE);
first.setVariety(Variety.ONEPIECESKIRT);
first.setLength(Length.KNEE);
Item second = new Item();
second.setCategory(Category.BOTTOMS);
second.setVariety(Variety.PANTS);
second.setLength(Length.BELOWKNEE);
assertThat(rule.isSuitable(first, second), is(true));
first.setLength(Length.BELOWKNEE);
assertThat(rule.isSuitable(first, second), is(false));
}