Add AbstractMethodAssertion.