예제 #1
0
        public void Should_Map()
        {
            // Arrange
            Role    role        = RoleSeedData.Performer;
            RoleDto expectedDto = RoleDtoData.Performer;

            // Act
            RoleDto dto = _mapper.Map <RoleDto>(role);

            // Assert
            dto.Should().BeEquivalentTo(expectedDto);
        }