diff --git a/modules/apps/fragment/fragment-web/src/test/java/com.liferay.fragment.web.internal/frontend.taglib.clay.servlet.taglib/BasicFragmentEntryVerticalCardTest.java b/modules/apps/fragment/fragment-web/src/test/java/com.liferay.fragment.web.internal/frontend.taglib.clay.servlet.taglib/BasicFragmentEntryVerticalCardTest.java index 5fab22fe9b4ace..980c0893197ac5 100644 --- a/modules/apps/fragment/fragment-web/src/test/java/com.liferay.fragment.web.internal/frontend.taglib.clay.servlet.taglib/BasicFragmentEntryVerticalCardTest.java +++ b/modules/apps/fragment/fragment-web/src/test/java/com.liferay.fragment.web.internal/frontend.taglib.clay.servlet.taglib/BasicFragmentEntryVerticalCardTest.java @@ -83,16 +83,16 @@ public void testGetLabelsWithoutWarnings() { Mockito.when( _httpServletRequest.getAttribute( - FragmentEntryValidator.class.getName()) + FragmentEntryProcessorRegistry.class.getName()) ).thenReturn( - Mockito.mock(FragmentEntryValidator.class) + Mockito.mock(FragmentEntryProcessorRegistry.class) ); Mockito.when( _httpServletRequest.getAttribute( - FragmentEntryProcessorRegistry.class.getName()) + FragmentEntryValidator.class.getName()) ).thenReturn( - Mockito.mock(FragmentEntryProcessorRegistry.class) + Mockito.mock(FragmentEntryValidator.class) ); Assert.assertEquals(1, _getLabelsSize());