defaultHandler = function (request, h) {
  const sum = {
    id: 'x78P9c',
    a: 5,
    b: 5,
    operator: '+',
    equals: 10,
    created: '2015-12-01',
    modified: '2015-12-01'
  };
  const list = {
    items: [sum],
    count: 1,
    pageSize: 10,
    page: 1,
    pageCount: 1
  };

  if (request.path.indexOf('/v1/sum/') > -1) {
    return replyByType('result', { equals: 43 }, request, h);
  }

  if (request.path === '/v1/store/' && request.method === 'get') {
    return replyByType('list', list, request, h);
  }

  return replyByType('sum', sum, request, h);
}
mock handler for routes

@param  {Object} request
@param  {Object} reply