/** @test */
public function it_displays_rejection_error()
{
// If necessary, replace `YourRouteName` with the actual name of your route
$response = $this->get(route('YourRouteName'));
$response->assertStatus(200);
// Assuming you want to check that the 'reject' error message is in the session
$response->assertSessionHasErrors(['reject' => _('reject')]);
// If you want to assert that the error is shown on the page,
// replace `YourErrorMessage` with the actual error message
$response->assertSeeText('YourErrorMessage');
}