コード例 #1
0
 public static SearchByNameFixtureElements CodeIs(this SearchByNameFixtureElements elements, string code)
 {
     elements.Result.Code.Should().Be(code);
     return(elements);
 }
コード例 #2
0
 public static SearchByNameFixtureElements CodeNotFound(this SearchByNameFixtureElements elements)
 {
     elements.Result.Should().BeNull();
     return(elements);
 }
コード例 #3
0
 public static SearchByNameFixtureElements FoundCode(this SearchByNameFixtureElements elements)
 {
     elements.Result.Should().NotBeNull($"Could not find code for {elements.InputTerm}");
     return(elements);
 }