Exemplo n.º 1
0
        public void GetStringProperties_ReturnsAllStringProperties()
        {
            //arrange
            var type = _user.GetType();

            //act
            var result = type.GetStringProperties();

            //assert
            result.Should().NotBeNullOrEmpty();
            result.Should().HaveCount(2);
            result.Select(p => p.Should().BeOfType <string>());
        }