@Test
public void checkStrategyResolutionCallInternalStrategy()
        throws Exception {

    Counter counter = new Counter();
    IResolveDependencyStrategy strategy = new ResolveByNameIocStrategy(
            (args)-> {
                ++counter.times;
                return "";
            }
    );
    strategy.resolve("key");
    assertEquals(counter.times, 1);
}