Esempio n. 1
0
            public async Task UsesApiWithoutCredentials()
            {
                await LoginManager.ResetPassword(Email.FromString("*****@*****.**"));

                ApiFactory.Received().CreateApiWith(Arg.Is <Credentials>(
                                                        arg => arg.Header.Name == null &&
                                                        arg.Header.Value == null &&
                                                        arg.Header.Type == HttpHeader.HeaderType.None));
            }