public void When_reading_a_multi_source_resource() { var source = new ResourceValidatorSource(GetType().Assembly, "Overseer.Tests.Resources.multispec.json"); source.For("PersonExactMatch").Count().ShouldBe(1); }
public void When_reading_a_valid_resource() { var source = new ResourceValidatorSource(GetType().Assembly, _pattern); source.For("PersonExactMatch").ShouldNotBeEmpty(); }
public void When_reading_an_invalid_resouce() { var source = new ResourceValidatorSource(GetType().Assembly, _pattern); source.For("wefwefwf").ShouldBeEmpty(); }