@Before
public void setUp() {
// Mock the static method call to get the logger instance
PowerMockito.mockStatic(LoggingManager.class);
Logging mockLogger = Mockito.mock(Logging.class);
PowerMockito.when(LoggingManager.getLogging(UserFeignHelper.class)).thenReturn(mockLogger);
}
@RunWith(PowerMockRunner.class)
@PrepareForTest({LoggingManager.class})
public class YourTestClass {
// Your test methods
}
``