Esempio n. 1
0
        public void DeveRetornarCommandResponsavelValido()
        {
            parent = DeleteParentCommandFaker.Gerar();

            var command = parent.Generate();

            Assert.True(command.Valid);
        }
Esempio n. 2
0
        public void DeveRetornarCommandResponsavelGuidInvalido()
        {
            parent = DeleteParentCommandFaker.Gerar();

            var command = parent.Generate();

            command.Id = Guid.Empty;

            command.Validate();

            Assert.True(command.Invalid);
        }