@Test(expected=java.util.NoSuchElementException.class)
public void shouldGetSingleItemWhereZeroMatch()
{
Iterable<TestObject> list = TestObjectRepository.createList(2);
final EqualityMatcher matcher = new EqualityMatcher<>("index", 2);
IterableQueryIterable<TestObject> iter = new IterableQueryIterable<TestObject>(list, matcher);
final Iterator<TestObject> iterator = iter.iterator();
assertThat(iterator.hasNext()).isEqualTo(false);
iterator.next();