Advertisement
Guest User

TestBooking.cs

a guest
Apr 17th, 2013
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.59 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using NUnit.Framework;
  6. using ControllerLayer;
  7.  
  8. namespace TestFixtures
  9. {
  10.     [TestFixture] public class TestBooking
  11.     {
  12.  
  13.         BookingController newClient;
  14.  
  15.         [SetUp]
  16.         public void init()
  17.         {
  18.             newClient = new BookingController();
  19.         }
  20.  
  21.         [Test]
  22.         public void createNewClient()
  23.         {
  24.             string result = newClient.createNewClient("test","test","test","test","test");
  25.             Assert.IsNotEmpty(result);
  26.  
  27.         }
  28.  
  29.  
  30.  
  31.     }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement