File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
src/test/java/com/magento/idea/magento2plugin/util Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1515
1616/**
1717 * Utility class for mocking the PhpBundle in tests.
18- *
18+ * <p>
1919 * This class provides methods to set up a mock for the PhpBundle,
2020 * which will return a fixed value for any key, avoiding the need for actual message keys in tests.
2121 */
@@ -88,7 +88,8 @@ private static void clearResourceBundleCache() throws Exception {
8888 // If cacheList field is not found, try the newer implementation (Java 9+)
8989 try {
9090 // Get the clearCache method
91- final Method clearCacheMethod = ResourceBundle .class .getDeclaredMethod ("clearCache" );
91+ final Method clearCacheMethod =
92+ ResourceBundle .class .getDeclaredMethod ("clearCache" );
9293 clearCacheMethod .setAccessible (true );
9394
9495 // Call the method to clear the cache
Original file line number Diff line number Diff line change 1111
1212/**
1313 * Mock implementation of ResourceBundle for testing.
14- *
14+ * <p>
1515 * This class provides a dummy ResourceBundle that returns a fixed value for any key,
1616 * avoiding the need for actual message keys in tests.
1717 */
You can’t perform that action at this time.
0 commit comments