stub(addResult(error), 5) => {} assert(addResult(error), 5): {}