public void Deve_retornar_falso_ao_criar_um_createAccessCommand_idCustomer_invalido() { var createAccessCommand = new CreateAccessCommand("Acesso teste", "Descrição do acesso teste", Guid.Empty); createAccessCommand.Validate(); Assert.AreEqual(false, createAccessCommand.IsValid); }
public void Deve_retornar_falso_ao_criar_um_createAccessCommand_com_dados_invalidos() { var createAccessCommand = new CreateAccessCommand("1", "1", Guid.NewGuid()); createAccessCommand.Validate(); Assert.AreEqual(false, createAccessCommand.IsValid); }