コード例 #1
0
        public void ItReturnsAListOfDeviceModelRefFromServiceModel()
        {
            // Arrange
            var deviceModelRefs = this.GetDeviceModelRefs();

            // Act
            var result = SimulationDeviceModelRef.FromServiceModel(deviceModelRefs);

            // Assert
            Assert.IsType <SimulationDeviceModelRef>(result.FirstOrDefault());
        }
コード例 #2
0
        private SimulationDeviceModelRef GetDeviceModelRef()
        {
            var deviceModelRef = new SimulationDeviceModelRef();

            return(deviceModelRef);
        }