Skip to content

Add hasEnclosingClass and hasNoEnclosingClass assertions - #4350

Open
chanwonlee wants to merge 2 commits into
assertj:3.xfrom
chanwonlee:feat/#4343
Open

chanwonlee wants to merge 2 commits into
assertj:3.xfrom
chanwonlee:feat/#4343

Conversation

@chanwonlee

Copy link
Copy Markdown
Contributor

Closes #4343

Added two new assertions:

  • hasEnclosingClass
  • hasNoEnclosingClass

Both are implemented similarly to hasSuperclass(Class)/hasNoSuperclass()

Check List:

@testlens-app

testlens-app Bot commented Aug 4, 2026

Copy link
Copy Markdown

✅ All tests passed ✅

🏷️ Commit: d83f611
▶️ Tests: 64970 executed
⚪️ Checks: 19/19 completed


Learn more about TestLens at testlens.app.

@chanwonlee

Copy link
Copy Markdown
Contributor Author

@scordio would you please take a look when you have a chance? Thanks!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant