public void Static_Build_Returns_AppCenterSecret( string appleSecret, string androidSecret) => AppCenterSecretsBuilder .Build(appleSecret, androidSecret) .Should() .Be($"ios={appleSecret};android={androidSecret}");
public void Build_Returns_NotNull( AppCenterSecretsBuilder sut, string appleSecret, string androidSecret) => sut .SetAppleSecret(appleSecret) .SetAndroidSecret(androidSecret) .Build() .Should() .NotBeNullOrWhiteSpace();
public void Build_Returns_AppCenterSecret( AppCenterSecretsBuilder sut, string appleSecret, string androidSecret) => sut .SetAppleSecret(appleSecret) .SetAndroidSecret(androidSecret) .Build() .Should() .Be($"ios={appleSecret};android={androidSecret}");
public void Requires_AndroidSecret(AppCenterSecretsBuilder sut) => new Action(() => sut.SetAndroidSecret(null)) .Should() .ThrowExactly <ArgumentNullException>();