@Test
public void isSelectedTest() {

    when(webElement.isSelected()).thenReturn(true);
    assertThat(InBrowserSinglton.isSelected(BasicPath.div), is(equalTo(true)));
    when(webElement.isSelected()).thenReturn(false);
    assertThat(InBrowserSinglton.isSelected(BasicPath.div), is(equalTo(false)));
}