CapRaffle.UnitTests.AccountControllerTests.Can_Register_With_Capgemini_Email C# (CSharp) Method

Can_Register_With_Capgemini_Email() private method

private Can_Register_With_Capgemini_Email ( ) : void
return void
        public void Can_Register_With_Capgemini_Email()
        {
            //Arrange
            User model = new User
            {
                Email = "[email protected]",
                Password = "WeAreTheOnes",
                PasswordAgain = "WeAreTheOnes",
                Name = "name"
            };

            // Act
            ActionResult res = accountController.Register(model);

            // Assert
            mock.Verify(m => m.Create(model.Email, model.Password, model.Name));
            Assert.IsInstanceOf(typeof(RedirectToRouteResult), res);
        }