By aB = FluentBy.composite(new By.ByTagName("a"), new By.ByClassName("b"));
assertThat(aB.toString(), is("FluentBy.composite([By.tagName: a, By.className: b])"));
when(context.findElementByXPath(".//a[contains(concat(' ',normalize-space(@class),' '),' b ')]")).thenReturn(we);
WebElement blort = aB.findElement(context);
assertThat(blort, is(we));
when(context.findElementsByXPath(".//a[contains(concat(' ',normalize-space(@class),' '),' b ')]")).thenReturn(newArrayList(we, we2));
List<WebElement> blorts = aB.findElements(context);
assertThat(blorts.get(0), is(we));