fix method and argument for assertion example