add method mock