Mock delegate to automatic generate secret output, prepare for testing