Esempio n. 1
0
        public void Contains_TerminalContained_True()
        {
            DataStoreMock
            .Setup(_ => _.Contains(TerminalDescriptor))
            .Returns(true);

            var result = TestInstance.Contains(TerminalDescriptor);

            Assert.IsTrue(result);
        }
Esempio n. 2
0
        public void Contains_TerminalNotContained_False()
        {
            DataStoreMock
            .Setup(_ => _.Contains(TerminalDescriptor))
            .Returns(false);

            var result = TestInstance.Contains(TerminalDescriptor);

            Assert.IsFalse(result);
        }
Esempio n. 3
0
        public void Contains_NonTerminalNotContained_False()
        {
            CompositionsMock
            .Setup(_ => _.Contains(NonTerminalDescriptor))
            .Returns(false);

            var result = TestInstance.Contains(NonTerminalDescriptor);

            Assert.IsFalse(result);
        }