private void BeEquivalentTo(TokenDescriptor tokenDescriptor, TokenDescriptor otherTokenDescriptor) { tokenDescriptor.Should().BeEquivalentTo(otherTokenDescriptor, x => x.Excluding(y => y.ExpirationDate)); tokenDescriptor.ExpirationDate.Should().BeCloseTo(otherTokenDescriptor.ExpirationDate, TimeSpan.FromMilliseconds(0.001)); }