Remove() public method

public Remove ( ManifestDigest manifestDigest, ITaskHandler handler ) : bool
manifestDigest ManifestDigest
handler ITaskHandler
return bool
Ejemplo n.º 1
0
 public void TestRemoveTwo()
 {
     _mockStore1.Setup(x => x.Remove(_digest1, _handler)).Returns(true);
     _mockStore2.Setup(x => x.Remove(_digest1, _handler)).Returns(true);
     Assert.IsTrue(_testStore.Remove(_digest1, _handler));
 }
Ejemplo n.º 2
0
 public void TestRemoveTwo()
 {
     _mockStore1.Setup(x => x.Remove(_digest1, _handler)).Returns(true);
     _mockStore2.Setup(x => x.Remove(_digest1, _handler)).Returns(true);
     _testStore.Remove(_digest1, _handler).Should().BeTrue();
 }