A mock knox wrapper