public void TestDetailedModel() { RequestParametersQueryStringConverter converter = new RequestParametersQueryStringConverter(); var actual = converter.ConvertRequestModel(new DetailedTestModel()); Assert.AreEqual(DetailedTestModel.ExpectedValue, actual); }
public void Test1() { RequestParametersQueryStringConverter converter = new RequestParametersQueryStringConverter(); var actual = converter.ConvertRequestModel(new SimpleTestModel()); Assert.AreEqual(SimpleTestModel.ExpectedString, actual); }
public void TestEmptyModel() { RequestParametersQueryStringConverter converter = new RequestParametersQueryStringConverter(); var actual = converter.ConvertRequestModel(new object()); Assert.AreEqual(string.Empty, actual); }