@Test
public void testGenerateUniqueValue_Success_Last_Trial() {

	// Arrange
	AtomicInteger counter = new AtomicInteger(0);
	// Act
	String value = UniqueValueGenerator.generateUniqueValue(
			() -> TEST_VALUE, v -> counter.incrementAndGet() >= LIMIT,
			LIMIT);
	// Assert
	assertEquals(TEST_VALUE, value);
	assertEquals(LIMIT, counter.get());
}