public void ToDictionary_Returns_NotEmpty(ComplexObject obj) => obj.ToDictionary().Should().ContainKey(nameof(ComplexObject.Name));
public void ToDictionary_Respects_IgnoreDataMember(ComplexObject obj) => obj.ToDictionary().Should().NotContainKey(nameof(ComplexObject.IgnoredProperty));
public void ToDictionary_Returns_NotNull(ComplexObject obj) => obj.ToDictionary().Should().NotBeNull();