Ejemplo n.º 1
0
        public async Task ItDoesntSignInIfRegisteringFromTheReTaskstApi()
        {
            newUser.Source = TransactionSource.RestApi;

            await userRegisterer.RegisterUser(newUser);

            signInManagerMock.AssertWasNotCalled(mock => mock.SignInAsync(
                                                     Arg <ApplicationUser> .Is.Anything,
                                                     Arg <bool> .Is.Anything,
                                                     Arg <bool> .Is.Anything));
        }