   end
 
   def mock_server_mismatches(provider) do
-    PactMockServer.mismatches(provider) |> Poison.decode!()
+    provider
+    |> PactMockServer.mismatches()
+    |> Poison.decode!()
   end
 
   def mock_server_matched?(provider) do


  # hook after test suite
  def after_test_suite(provider) do
    provider
    |> PactMockServer.write_pact_file()

    # shutdown mock server
  end

  def given(precondition) do
    precondition
  end
end
