internal static void AssertValid(this Service.AgentC thisObj) { thisObj.Should().NotBeNull(); thisObj.Name.Should().Be(Consts.AgentName); thisObj.Version.Should().MatchRegex(@"^\d+\.\d+\.\d+"); }
internal static void AssertValid(this Service.AgentC thisObj) { thisObj.Should().NotBeNull(); thisObj.Name.Should().Be(Consts.AgentName); thisObj.Version.Should().Be(Service.GetDefaultService(new MockConfigSnapshot(new NoopLogger()), new NoopLogger()).Agent.Version); }
internal static void AssertValid(this Service.AgentC thisObj) { thisObj.Should().NotBeNull(); thisObj.Name.Should().Be(Consts.AgentName); thisObj.Version.Should().Be(Service.GetDefaultService(new TestAgentConfigurationReader(new NoopLogger())).Agent.Version); }