Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using Microsoft.VisualStudio.TestTools.UnitTesting;
- using System.Collections.Generic;
- using WIMS.Models.Enums;
- using WIMS.Models.Structure.WorkItems;
- namespace WIMS.Test
- {
- [TestClass]
- public class ConstructorBug_Should
- {
- [TestMethod]
- public void CreateBug()
- {
- //Arrange
- string title = "I am the badest Bukkk!";
- string description = "It is impossible to resolve me.";
- List<string> steps = new List<string>{ ("daskjsahkjdshkdjs") } ;
- Priority priority = Priority.Low ;
- Severity severity = Severity.Critical;
- BugStatus status = BugStatus.Active;
- //Act
- var sut = new Bug(title, description, steps, priority, severity, status);
- //Assert
- Assert.IsInstanceOfType(sut, typeof(Bug));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment