Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
To make your class testable you should make it dependent on the IContentRepository or IContentLoader (in contrast to using DataFactory). Then use your favorite mock frame work to mock the dependency and work with your test data in your unit test.
Hi
Is there anybody who knows how I can initialize commerce 7,5 to get productentities within a test class?
Thanks in advance!