Esempio n. 1
0
        public void AddResourceToLocaton()
        {
            // Arrange
            var resource = _service.GetResource(1).GetData();

            // Act
            var result = _service.AddResourceToLocation(1, resource.ID);

            // Assert
            Assert.IsTrue(result.IsOK);
            resource = _service.GetResource(1).GetData();
            Assert.IsTrue(resource.LocationId == 1);
        }