@Test
public void should_fail_when_can_not_generate_name() {

	try {
		nameResolver.resolveDoubleName(annotationDetails());
		fail("should fail");
	} catch (IllegalStateException ex) {
		assertEquals(
				"Can not generate double name",
				ex.getMessage());
	}
}