Skip to content

Migrate away from AssertJ's catchThrowable() #35003

Closed
@sbrannen

Description

@sbrannen

While reviewing #34821, I noticed that we use org.assertj.core.api.Assertions.catchThrowable(ThrowingCallable) when we really should be using assertThatExceptionOfType() or similar.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions