public void assertIsSatisfied ( ) { if ( firstError != null ) { throw firstError ; } else if ( ! dispatcher . isSatisfied ( ) ) { throw expectationErrorTranslator . translate ( ExpectationError . notAllSatisfied ( this ) ) ; } }
Fails the test if there are any expectations that have not been met .