static <ENTITY> MockManager<ENTITY> of(Manager<ENTITY> manager) {
        return new MockManagerImpl<>(manager);
    }
Wraps the specified manager in a new {@link MockManager}.

@param <ENTITY>  the entity type
@param manager   the manager to wrap
@return          the new {@code MockManager}
runtime-parent/runtime-core/src/main/java/com/speedment/runtime/core/internal/util/testing/MockManager.java