public void ThenRespositoryFailsWhenGettingSignatureElement() { // Arrange var document = new XmlDocument(); var repository = new SignedXmlRepository(document); // Act / Assert Assert.ThrowsAny <Exception>(() => repository.GetSignatureElement()); }
public void ThenRespositoryGetsSignatureElement() { // Arrange var repository = new SignedXmlRepository(_document); // Act XmlElement signatureElement = repository.GetSignatureElement(); // Assert Assert.NotNull(signatureElement); }