GetPath() 공개 메소드

public GetPath ( ManifestDigest manifestDigest ) : string
manifestDigest ManifestDigest
리턴 string
 public void TestGetPathFirst()
 {
     _mockStore1.Setup(x => x.GetPath(_digest1)).Returns("path");
     Assert.AreEqual("path", _testStore.GetPath(_digest1), "Should get path from first mock");
 }
예제 #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");
 }