Esempio n. 1
0
        public void InstantiateShouldNotFail()
        {
            // Arrage
            Capability actual;

            // Act
            actual = new Capability();

            // Assert
            Assert.IsNotNull(actual);
        }
Esempio n. 2
0
        public void CapabilityPropertiesShouldKeepValues()
        {
            // Arrage
            Capability actual = new Capability();
            var expectedId = Guid.NewGuid();
            var expectedName = "Test Name";
            var expectedCategory = "Testing";

            // Act
            actual.Id = expectedId;
            actual.Name = expectedName;
            actual.Category = expectedCategory;

            // Assert
            Assert.AreEqual(expectedId, actual.Id);
            Assert.AreEqual(expectedName, actual.Name);
            Assert.AreEqual(expectedCategory, actual.Category);
        }