replace mock with prophecy