public void Returns_public_properties_with_a_getter() { // Arrange var instance = new ClassWithManyProperties(); var expectedProperties = Expectation.OfProperties(instance, o => o.PublicPropWithGetter, o => o.PublicPropWithGetterAndSetter); // Act var actualProperties = sut.GetProperties(instance); // Assert actualProperties.Should().BeEquivalentTo(expectedProperties); }