public void Should_persist_the_packedhash() { _apiClientSecretProvider.AssertWasCalled(x => x.SetSecret(Arg <string> .Is.NotNull, Arg <ApiClientSecret> .Is.Equal(_apiClientSecret))); }
public virtual void Should_save_new_secret() { _apiClientSecretProvider.AssertWasCalled(x => x.SetSecret(Key, _apiClientSecret), o => o.Repeat.Once()); }