the lawyer had a presentiment that the judge would dismiss the case.
Examples of presentiment
presentiment
People have come out to play, but there is always a presentiment of the end of summer.
From the guardian.co.uk
That image, the presentiment it carried, startled him out of his own morass, he said.
From the nytimes.com
You have a strange dream or presentiment upon waking that casts a shadow over your day.
From the kansas.com
Tormented from within by depression, fatigue and a haunting presentiment of his own death.
From the sacbee.com
As he sees it, intuition, at least the successful kind, is something more than vague presentiment.
From the time.com
His sense of calamity had grown till it was a presentiment.
From the gutenberg.org
It was up to the owner, who seemed to have a presentiment that if he allowed the object to depart, his father would die.
From the nytimes.com
Did the director, when he shot this film, get a chill presentiment of how personal it was all going to look?
From the guardian.co.uk
She is haunted by a presentiment of death, an old crone with a face wrinkled into bird tracks, her left eye a bulging black socket.
From the time.com
More examples
Foreboding: a feeling of evil to come; "a steadily escalating sense of foreboding"; "the lawyer had a presentiment that the judge would dismiss the case"
A premonition; a feeling that something, often of undesirable nature, is going to happen
An emotional response that can only be described as precognitive, such as a feeling of dread before an impending disaster.