@Test
public void testUseReservationWhenReserved()
{

    reservedValueStore.reserveValues( simpleReservedValue, Lists.newArrayList( "FOOBAR" ) );
    boolean res = reservedValueService.useReservedValue( simpleTextPattern, "FOOBAR" );
    assertTrue( res );
    assertEquals( 0, reservedValueStore.getCount() );
}