When calling resolveDependency, we must provide a list of bean names to support getting beans by name.