@Test
public void should_use_declared_double_class_to_generate_double_name() {

	final AnnotationDetails detailsWithClass = annotationDetails(DoubleDefinition.class);
	assertEquals(
			nameResolver.resolveDoubleName(detailsWithClass),
			"doubleDefinition");
}