protected synchronized boolean unsetExpectation ( final AbstractExpectation < C , P > expectation ) { if ( this . expectations . containsKey ( expectation ) ) { this . expectations . remove ( expectation ) ; AbstractExpectationManager . LOGGER . info ( "Unregistered expectation {}." , expectation ) ; return true ; } return false ; }
Stop tracking this expectation . Calls from the internal code only .