예제 #1
0
        public void Dado_um_username_invalido_deve_gerar_notificacao2()
        {
            RegisterUserCommand command = new RegisterUserCommand();

            command.Username = "";
            command.Password = "******";

            RegisterUserService service = new RegisterUserService(command, new FakeUserRepository());

            service.Run();

            Assert.IsTrue(service.HasNotifications());
        }