public void then_exception_occurs()
 {
     this.Invoking(_ => AssemblyResourceReader.Search("UnexistingResource.resx"))
     .Should().Throw <Exception>();
 }
Пример #2
0
 public void then_resource_is_found()
 {
     AssemblyResourceReader.Search("ResourceFile.txt")
     .Should().Be("Resource content.");
 }