public void DeveRetornarCommandResponsavelValido() { parent = DeleteParentCommandFaker.Gerar(); var command = parent.Generate(); Assert.True(command.Valid); }
public void DeveRetornarCommandResponsavelGuidInvalido() { parent = DeleteParentCommandFaker.Gerar(); var command = parent.Generate(); command.Id = Guid.Empty; command.Validate(); Assert.True(command.Invalid); }