Ejemplo n.º 1
0
        public void When_singUp_invoke_with_null_parameter_should_throw_exception()
        {
            //act
            Action act = () => underTest.SignUp(null);

            //assert
            act.Should().Throw <ArgumentNullException>();
        }
Ejemplo n.º 2
0
        public void Registration_errorlist_should_be_null()
        {
            //act
            var list = signinManager.SignUp(new SignUpModel());

            //assert
            list.Should().Be(null);
        }