private FactoryPoint<?> getFactoryPointByName(final List<FactoryPoint<?>> factoryPoints, final String name) {
        for (final FactoryPoint<?> factoryPoint : factoryPoints) {
            final FactoryPointMethod<?> factoryPointMethod = (FactoryPointMethod<?>) factoryPoint;

            if (factoryPointMethod.getMethod().getName().equals(name)) {
                return factoryPoint;
            }
        }

        assertNotNull(null);
        return null;
    }