SoapOperationBindingTest.cs 791 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // MonoTests.System.Web.Services.Description.SoapOperationBindingTest.cs
  3. //
  4. // Author:
  5. // Erik LeBel <[email protected]>
  6. //
  7. // (C) 2003 Erik LeBel
  8. //
  9. using NUnit.Framework;
  10. using System;
  11. using System.Web.Services.Description;
  12. namespace MonoTests.System.Web.Services.Description
  13. {
  14. [TestFixture]
  15. public class SoapOperationBindingTest
  16. {
  17. SoapOperationBinding sob;
  18. [SetUp]
  19. public void InitializeSoapOperationBinding()
  20. {
  21. sob = new SoapOperationBinding();
  22. }
  23. [Test]
  24. public void TestDefaultProperties()
  25. {
  26. Assertion.AssertEquals(String.Empty, sob.SoapAction);
  27. Assertion.AssertEquals(SoapBindingStyle.Default, sob.Style);
  28. Assertion.AssertEquals(false, sob.Required);
  29. Assertion.AssertNull(sob.Parent);
  30. Assertion.AssertEquals(false, sob.Handled);
  31. }
  32. }
  33. }