public void AsSourceItem_WorksCorrectly() { var source = new PackageSource("Source", "SourceName", isEnabled: false) { ProtocolVersion = 43 }; var expectedItem = new SourceItem("SourceName", "Source", "43"); SettingsTestUtils.DeepEquals(source.AsSourceItem(), expectedItem).Should().BeTrue(); }