bkkothari2255 opened a new pull request, #76:
URL: https://github.com/apache/sling-org-apache-sling-models-impl/pull/76

   Issue: SLING-13072
   
   Migrated 7 test classes handling defaults, inheritance, and invalid 
adaptations to JUnit5:
       * `DefaultInterfaceMethodTest`
       * `DefaultTest`
       * `ExtraDefaultTests`
       * `ImplementsExtendsTest`
       * `InjectorSpecificAnnotationTest`
       * `InterfaceInheritanceTest`
       * `InvalidAdaptationsTest`
      
    - Changes
   
       * Replaced `MockitoJUnitRunner` with 
`@ExtendWith(MockitoExtension.class)`.
       * Applied lenient() stubbing to preserve legacy test behavior.
       * Updated imports to `org.junit.jupiter.api`.
       * Converted `@Test(expected)` to `assertThrows()`.
       * Switched to `doReturn().when()` where necessary to resolve generic 
type inference issues.
       * Added `<?>` wildcards to raw `Type` variables to fix compiler warnings.
       * Split large test methods to improve readability and assertion tracking.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to