public class ProverEnvironmentSubject extends Subject<ProverEnvironmentSubject,BasicProverEnvironment<?>>
Subject subclass for testing assertions about ProverEnvironments with Truth
(allows to use assert_().about(...).that(stack).isUnsatisfiable() etc.).
Use SolverBasedTest0.assertThatEnvironment(BasicProverEnvironment),
or AbstractVerb.about(com.google.common.truth.SubjectFactory) and
proverEnvironment().
failureStrategy| Modifier and Type | Method and Description |
|---|---|
void |
isSatisfiable()
Check that the subject stack is satisfiable.
|
void |
isUnsatisfiable()
Check that the subject stack is unsatisfiable.
|
static SubjectFactory<ProverEnvironmentSubject,BasicProverEnvironment<?>> |
proverEnvironment()
Use this for checking assertions about ProverEnvironments with Truth:
assert_().about(proverEnvironment()).that(stack).is...(). |
check, equals, fail, fail, fail, failWithBadResults, failWithCustomSubject, failWithoutSubject, failWithRawMessage, getDisplaySubject, getSubject, hashCode, internalCustomName, isAnyOf, isEqualTo, isIn, isInstanceOf, isNoneOf, isNotEqualTo, isNotIn, isNotInstanceOf, isNotNull, isNotSameAs, isNull, isSameAs, namedpublic static SubjectFactory<ProverEnvironmentSubject,BasicProverEnvironment<?>> proverEnvironment()
assert_().about(proverEnvironment()).that(stack).is...().public void isUnsatisfiable()
throws SolverException,
InterruptedException
SolverExceptionInterruptedExceptionpublic void isSatisfiable()
throws SolverException,
InterruptedException
SolverExceptionInterruptedException