@Test (expected = AdditionDependencyStrategyException.class)
public void checkExceptionOnRegister()
        throws Exception {

    IResolveDependencyStrategy strategy = new StrategyStorageStrategy(
            (a) -> {
                throw new InvalidArgumentException("");
            },
            null
    );
    ((IAdditionDependencyStrategy) strategy).register(null, null);
}