replaced expectation matcher