@Test
public void testGenerateUniqueValue_Throws_UniqueValueGeneratorException_Last_Trial2() {

	// Arrange
	AtomicInteger counter = new AtomicInteger(0);
	thrown.expect(UniqueValueGeneratorException.class);
	// Act
	String value = null;
	try {
		value = UniqueValueGenerator.generateUniqueValue(() -> TEST_VALUE,
				v -> counter.incrementAndGet() > LIMIT, LIMIT);
	} catch (Exception e) {
		// Assert
		assertEquals(null, value);
		assertEquals(LIMIT, counter.get());
		throw e;
	}
}