Skip to Content
Former Member
Aug 04, 2017 at 08:53 AM

Is it possible to mock catalog Version in hybris 5.6 How can we do that?


I need to mock catalog version of CatalogVersionModel model. When I mock it by @Mock Private CatalogVersionModel catalogVersion .It returns null. What is the correct way to mock so that I should not get null pointer exception.