public void InAnyOrderWithPassesTest() { AssertPasses( Items("one", "two", "three"), AList.InAnyOrder().WithOnly(AString.EqualToValues("one", "two", "three")) ); }
public void InAnyOrderAtLeastAdditionalItemPassesTest() { AssertPasses( Items("four", "three", "one", "two"), AList.InAnyOrder().WithAtLeast(AString.EqualToValues("one", "two", "three")) ); }
public void InAnyOrderAtLeastOutOfOrderItemsPassesTest() { AssertPasses( Items("two", "one", "three"), AList.InAnyOrder().WithAtLeast(AString.EqualToValues("one", "two", "three")) ); }
public void InAnyOrderWithMissingItemFailsTest() { AssertFails( Items("one", "two"), AList.InAnyOrder().WithOnly(AString.EqualToValues("one", "two", "three")) ); }