it should check ```cacheManager != null```