예제 #1
0
        public void Should_Create_MeasureQueryDto()
        {
            var measureCommandDtoTest = MeasureQueryDto.New(_measureName, _status);

            Assert.NotNull(measureCommandDtoTest);
            Assert.Equal(_status, measureCommandDtoTest.Status);
            Assert.Equal(_measureName, measureCommandDtoTest.Name);
        }
예제 #2
0
 public static MeasureQueryDto Map(Measure measure)
 {
     return(MeasureQueryDto.New(measure.Name, measure.Status));
 }