nassss

Untitled

Feb 25th, 2020
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. using Microsoft.VisualStudio.TestTools.UnitTesting;
  2. using System.Collections.Generic;
  3. using WIMS.Models.Enums;
  4. using WIMS.Models.Structure.WorkItems;
  5.  
  6. namespace WIMS.Test
  7. {
  8. [TestClass]
  9. public class ConstructorBug_Should
  10. {
  11. [TestMethod]
  12. public void CreateBug()
  13. {
  14. //Arrange
  15. string title = "I am the badest Bukkk!";
  16. string description = "It is impossible to resolve me.";
  17. List<string> steps = new List<string>{ ("daskjsahkjdshkdjs") } ;
  18. Priority priority = Priority.Low ;
  19. Severity severity = Severity.Critical;
  20. BugStatus status = BugStatus.Active;
  21.  
  22. //Act
  23. var sut = new Bug(title, description, steps, priority, severity, status);
  24.  
  25. //Assert
  26. Assert.IsInstanceOfType(sut, typeof(Bug));
  27. }
  28. }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment