removed redundant stubbing of template method