예제 #1
0
        public void DeveRetornarCommandResponsavelValido()
        {
            parent = DeleteParentCommandFaker.Gerar();

            var command = parent.Generate();

            Assert.True(command.Valid);
        }
예제 #2
0
        public void DeveRetornarCommandResponsavelGuidInvalido()
        {
            parent = DeleteParentCommandFaker.Gerar();

            var command = parent.Generate();

            command.Id = Guid.Empty;

            command.Validate();

            Assert.True(command.Invalid);
        }