Add expectation verification to resolver test.