private void AssertJsonServiceClientHasExpectedUserAgent(JsonServiceClient client) { var userAgent = client.UserAgent; userAgent.Should().StartWith("ServiceStack"); userAgent.Should().Contain("/" + UserAgentBuilder.GetSdkComponent()); userAgent.Should().Contain("/" + UserAgentBuilder.GetApplicationComponent()); }
public void GetApplicationComponent_ShouldNotBeEmpty() { var actual = UserAgentBuilder.GetApplicationComponent(); actual.Should().NotBeEmpty(); }