public void TargetRequestSelector_1Region_2Pattern() { new ModelDefinition <Entity17>(); var processor = new EntityProcessor <Entity17>(); Assert.True(processor.ContainsXpath("//*[@id=\"1111\"]")); Assert.True(processor.ContainsPattern(@"&page=[0-9]+&")); Assert.True(processor.ContainsPattern(@"&page=[0-1]+&")); }
public void TargetRequestSelector_NullRegion_1Pattern() { new ModelDefinition <Entity25>(); var processor = new EntityProcessor <Entity25>(); Assert.True(processor.ContainsXpath(".")); Assert.True(processor.ContainsPattern(@"&page=[0-9]+&")); }