@Test
public void givenClassWithEnvironmentAnnotatedPropertyThenInjectEnvironment() throws Exception {
TestClazz testClazz = new TestClazz();
ConfigurationAnnotationConfigurer annotationConfigurer = new ConfigurationAnnotationConfigurer(
new DefaultConstrettoConfiguration(null), new AlwaysDevelopmentEnvironmentResolver());
annotationConfigurer.postProcessAfterInstantiation(testClazz, "testBean");
Assert.assertTrue(testClazz.getEnvironments().contains("development"));
}