Changed example code to set AssertMethod correctly