public TestRig WithResource(Resource resource, string html) { this.Source.AddResource(resource, html); return this; }