Created
June 30, 2018 22:07
-
-
Save joebuschmann/42e77fbac8e5989bacc0ded951116ee9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [BeforeScenario("xml")] | |
| public void ConfigureXml() | |
| { | |
| _objectContainer | |
| .RegisterTypeAs<XmlBodySerializer, IBodySerializer>(); | |
| } | |
| [BeforeScenario("json")] | |
| public void ConfigureJson() | |
| { | |
| _objectContainer | |
| .RegisterTypeAs<JsonBodySerializer, IBodySerializer>(); | |
| } | |
| [BeforeScenario("formurlencoded")] | |
| public void ConfigureFormUrlEncoded() | |
| { | |
| _objectContainer | |
| .RegisterTypeAs<FormUrlEncodingBodySerializer, IBodySerializer>(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment