@@ -0,0 +1,2890 @@
+package com.codeborne.selenide;%0A%0Aimport com.codeborne.selenide.collections.*;%0Aimport org.junit.Test;%0A%0Aimport java.util.Arrays;%0A%0Aimport static org.hamcrest.CoreMatchers.instanceOf;%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertThat;%0A%0Apublic class CollectionConditionTest %7B%0A%0A  @Test%0A  public void testSizeIsEmptyListSize() %7B%0A    CollectionCondition collectionCondition = CollectionCondition.size(10);%0A    assertThat(collectionCondition, instanceOf(ListSize.class));%0A  %7D%0A%0A  @Test%0A  public void testSizeGreaterThan() %7B%0A    CollectionCondition collectionCondition = CollectionCondition.sizeGreaterThan(10);%0A    assertThat(collectionCondition, instanceOf(SizeGreaterThan.class));%0A  %7D%0A%0A  @Test%0A  public void testSizeGraterThenOrEqual() %7B%0A    CollectionCondition collectionCondition = CollectionCondition.sizeGreaterThanOrEqual(10);%0A    assertThat(collectionCondition, instanceOf(SizeGreaterThanOrEqual.class));%0A  %7D%0A%0A  @Test%0A  public void testSizeLessThan() %7B%0A    CollectionCondition collectionCondition = CollectionCondition.sizeLessThan(10);%0A    assertThat(collectionCondition, instanceOf(SizeLessThan.class));%0A  %7D%0A%0A  @Test%0A  public void testSizeLessThanOrEqual() %7B%0A    CollectionCondition collectionCondition = CollectionCondition.sizeLessThanOrEqual(10);%0A    assertThat(collectionCondition, instanceOf(SizeLessThanOrEqual.class));%0A  %7D%0A%0A  @Test%0A  public void testSizeNotEqual() %7B%0A    CollectionCondition collectionCondition = CollectionCondition.sizeNotEqual(10);%0A    assertThat(collectionCondition, instanceOf(SizeNotEqual.class));%0A  %7D%0A%0A  @Test%0A  public void testTextsWithObjectsList() %7B%0A    CollectionCondition collectionCondition = CollectionCondition.texts(%22One%22, %22Two%22, %22Three%22);%0A    assertThat(collectionCondition, instanceOf(Texts.class));%0A    assertEquals(%22Texts content%22, %22Texts %5BOne, Two, Three%5D%22, collectionCondition.toString());%0A  %7D%0A%0A  @Test%0A  public void testTextsWithListOfStrings() %7B%0A    CollectionCondition collectionCondition = CollectionCondition.texts(Arrays.asList(%22One%22, %22Two%22, %22Three%22));%0A    assertThat(collectionCondition, instanceOf(Texts.class));%0A    assertEquals(%22Texts content%22, %22Texts %5BOne, Two, Three%5D%22, collectionCondition.toString());%0A  %7D%0A%0A  @Test%0A  public void testExactTextsWithObjectsList() %7B%0A    CollectionCondition collectionCondition = CollectionCondition.exactTexts(%22One%22, %22Two%22, %22Three%22);%0A    assertThat(collectionCondition, instanceOf(ExactTexts.class));%0A    assertEquals(%22Exact texts content%22, %22Exact texts %5BOne, Two, Three%5D%22, collectionCondition.toString());%0A  %7D%0A%0A  @Test%0A  public void testExactTextsWithListOfStrings() %7B%0A    CollectionCondition collectionCondition = CollectionCondition.exactTexts(Arrays.asList(%22One%22, %22Two%22, %22Three%22));%0A    assertThat(collectionCondition, instanceOf(ExactTexts.class));%0A    assertEquals(%22Exact texts content%22, %22Exact texts %5BOne, Two, Three%5D%22, collectionCondition.toString());%0A  %7D%0A%7D%0A

add unit tests for CollectionCondition class