public void Contains_TerminalContained_True() { DataStoreMock .Setup(_ => _.Contains(TerminalDescriptor)) .Returns(true); var result = TestInstance.Contains(TerminalDescriptor); Assert.IsTrue(result); }
public void Contains_TerminalNotContained_False() { DataStoreMock .Setup(_ => _.Contains(TerminalDescriptor)) .Returns(false); var result = TestInstance.Contains(TerminalDescriptor); Assert.IsFalse(result); }
public void Contains_NonTerminalNotContained_False() { CompositionsMock .Setup(_ => _.Contains(NonTerminalDescriptor)) .Returns(false); var result = TestInstance.Contains(NonTerminalDescriptor); Assert.IsFalse(result); }