public void IsPreviousFeedLinkReturnsFalsForLinkWithIncorrectRel( UuidIri id) { var link = AtomEventStream.CreateSelfLinkFrom(id); var actual = AtomEventStream.IsPreviousFeedLink(link); Assert.False(actual); }
public void CreateSelfLinkFromReturnsCorrectResult( UuidIri id) { AtomLink actual = AtomEventStream.CreateSelfLinkFrom(id); var expected = AtomLink.CreateSelfLink( new Uri( ((Guid)id).ToString(), UriKind.Relative)); Assert.Equal(expected, actual); }