	@Test
	public void getInstanceWithoutAncestors() {

		AnnotationConfigApplicationContext parent = new AnnotationConfigApplicationContext();
		parent.refresh();

		FeignContext feignContext = new FeignContext();
		feignContext.setApplicationContext(parent);
		feignContext.setConfigurations(Lists.newArrayList(getSpec("demo", DemoConfiguration.class)));

		Logger.Level level = feignContext.getInstanceWithoutAncestors("demo", Logger.Level.class);

		assertThat(level).isEqualTo(Logger.Level.FULL);
	}