コード例 #1
0
        public void AddLocationType_Should_Add_Location_Type()
        {
            // Arrange
            var locationType = getLocationType();

            // Act
            var result = service.AddLocationType(locationType);

            // Assert
            Assert.IsTrue(result.IsOK);
            Assert.IsNotNull(service.GetLocationType(100));
            Assert.AreEqual(service.GetLocationType(100).TypeName, "Natural Landmark");
        }