public void GetEntityProperties_WhenCalledWithNullProperties_ShouldReturnListOfEntityProperties() { //Arrange //Act var actual = EntityPropertyProcessor.GetEntityProperties(null); //Assert actual.Should().BeEquivalentTo(new List <string>()); }
public void GetEntityProperties_WhenCalledWithValidInput_ShouldReturnListOfEntityProperties() { //Arrange var expectedListOfProperties = new List <string> { "Id", "Name", "Age" }; //Act var actual = EntityPropertyProcessor.GetEntityProperties(typeof(TestingObject).GetProperties()); //Assert actual.Should().BeEquivalentTo(expectedListOfProperties); }