Example #1
0
        public void ValidateInputedValue_Must_Return_False()
        {
            //Arrange
            var useCaseStarshipResupply = new StarshipResupplyRequired();
            var console = new TestConsoleVirtual();

            //Act
            var validatedInputedValue = useCaseStarshipResupply.ValidateInputedValue("AAA", console);

            // Assert
            Assert.False(validatedInputedValue);
        }
Example #2
0
        public void ReceiveInputedValue_Must_Return_1()
        {
            //Arrange
            var useCaseStarshipResupply = new StarshipResupplyRequired();
            var console = new TestConsoleVirtual();

            //Act
            var inputedValue = useCaseStarshipResupply.ReceiveInputedValue(console);

            // Assert
            Assert.Equal(1, inputedValue);
        }