Ejemplo n.º 1
0
        public void HasRightLengthReturnsFalseIfInputIsNull()
        {
            // Arrange
            var sut = new SedolValidator();

            // Act
            var actual = sut.HasRightLength(null);

            // Assert
            Assert.IsFalse(actual);
        }
Ejemplo n.º 2
0
        public void HasRightLengthReturnsTrueIfSedolExactlySevenCharactersLong()
        {
            // Arrange
            var sut = new SedolValidator();

            // Act
            var actual = sut.HasRightLength("1234567");

            // Assert
            Assert.IsTrue(actual);
        }