@Test
public void testReserveReserveMultipleSequentialValueWhenSomeExists()
    throws Exception
{

    List<ReservedValue> reserved = reservedValueService
        .reserve( simpleSequentialTextPattern, 50, new HashMap<>(), future );
    // Make sure they where added successfully
    assertEquals( 50,
        reserved.stream().filter( ( rv ) -> rv.getValue().indexOf( "TEST-" ) == 0 && rv.getValue().length() == 7 ).count() );
    assertEquals( 50, reservedValueStore.getCount() );
    List<ReservedValue> res = reservedValueService.reserve( simpleSequentialTextPattern, 25, new HashMap<>(), future );
    assertTrue( ListUtils.intersection( reserved, res ).isEmpty() );
    assertEquals( 25, res.stream().filter( ( rv ) -> rv.getValue().indexOf( "TEST-" ) == 0 && rv.getValue().length() == 7 ).count() );
    assertEquals( 75, reservedValueStore.getCount() );
}