@Test (expected = ResolveDependencyStrategyException.class)
public void checkResolveDependencyStrategyExceptionOnWrongArgs()
        throws Exception {

    IResolveDependencyStrategy strategy = new ApplyFunctionToArgumentsStrategy(
            (args) -> {
                Integer a = (Integer) args[0];
                return null;
            }
    );
    strategy.resolve();
}