public void NoMatchWithOthers() { var pattern = new SequencePoidPattern(); pattern.Match(typeof(TestEntity).GetProperty("Guid")).Should().Be.False(); pattern.Match(typeof(TestEntity).GetProperty("Short")).Should().Be.False(); }
public void MatchWithAnyIntOrLong() { var pattern = new SequencePoidPattern(); pattern.Match(typeof(TestEntity).GetProperty("Int")).Should().Be.True(); pattern.Match(typeof(TestEntity).GetProperty("Long")).Should().Be.True(); }