@Test
public void testGetDefaultStrategy() throws Exception {

	Properties strategies = new Properties();
	strategies.put(Strategy.class.getName(), StrategyImpl.class.getName());
	DefaultStrategiesHelper helper = new DefaultStrategiesHelper(strategies);
	StaticApplicationContext applicationContext = new StaticApplicationContext();
	applicationContext.registerSingleton("strategy1", StrategyImpl.class);
	applicationContext.registerSingleton("strategy2", ContextAwareStrategyImpl.class);
	Object result = helper.getDefaultStrategy(Strategy.class, applicationContext);
	Assert.assertNotNull("No result", result);
	Assert.assertTrue("Result not a Strategy implementation", result instanceof Strategy);
	Assert.assertTrue("Result not a StrategyImpl implementation", result instanceof StrategyImpl);
}