@@ -0,0 +1,1980 @@
+package com.codeborne.selenide.impl;%0A%0Aimport com.codeborne.selenide.SelenideElement;%0Aimport org.junit.Test;%0Aimport org.mockito.Mockito;%0Aimport org.openqa.selenium.By;%0Aimport org.openqa.selenium.SearchContext;%0Aimport org.openqa.selenium.WebElement;%0A%0Aimport java.util.Collections;%0Aimport java.util.List;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.mockito.Mockito.mock;%0Aimport static org.mockito.Mockito.when;%0A%0Apublic class BySelectorCollectionTest %7B%0A%0A  @Test%0A  public void testNoParentConstructor() %7B%0A    BySelectorCollection bySelectorCollection = new BySelectorCollection(By.id(%22selenide%22));%0A    String description = bySelectorCollection.description();%0A    assertEquals(%22By.id: selenide%22, description);%0A  %7D%0A%0A  @Test%0A  public void testWithWebElementParentConstructor() %7B%0A    SelenideElement mockedWebElement = mock(SelenideElement.class);%0A    WebElement selenide_element = mock(WebElement.class);%0A    when(mockedWebElement.toWebElement()).thenReturn(selenide_element);%0A    when(selenide_element.getTagName()).thenReturn(%22%3Ca href='http://selenide.com'%3EClick Me!%3C/a%3E%22);%0A%0A    BySelectorCollection bySelectorCollection = new BySelectorCollection(mockedWebElement, By.name(%22selenide%22));%0A    String description = bySelectorCollection.description();%0A    assertEquals(%22%3C%3Ca href='http://selenide.com'%3EClick Me!%3C/a%3E%3E/By.name: selenide%22, description);%0A  %7D%0A%0A  @Test%0A  public void testWithNotWebElementParentConstructor() %7B%0A    BySelectorCollection bySelectorCollection = new BySelectorCollection(new NotWebElement(), By.name(%22selenide%22));%0A    String description = bySelectorCollection.description();%0A    assertEquals(%22By.name: selenide%22, description);%0A  %7D%0A%0A  private class NotWebElement implements SearchContext %7B%0A%0A    @Override%0A    public List%3CWebElement%3E findElements(By by) %7B%0A      return Collections.singletonList(Mockito.mock(WebElement.class));%0A    %7D%0A%0A    @Override%0A    public WebElement findElement(By by) %7B%0A      return Mockito.mock(WebElement.class);%0A    %7D%0A  %7D%0A%7D%0A

add BySelectorCollection unit tests