unify the way adapter methods are asserted
Merge pull request #856 from tchak/adapter-asserts

unify the way adapter methods are asserted