GetPath() public method

public GetPath ( ManifestDigest manifestDigest ) : string
manifestDigest ManifestDigest
return string
 public void TestGetPathFirst()
 {
     _mockStore1.Setup(x => x.GetPath(_digest1)).Returns("path");
     Assert.AreEqual("path", _testStore.GetPath(_digest1), "Should get path from first mock");
 }
Esempio n. 2
0
 public void TestGetPathFirst()
 {
     _mockStore1.Setup(x => x.GetPath(_digest1)).Returns("path");
     _testStore.GetPath(_digest1).Should().Be("path", because: "Should get path from first mock");
 }