Ejemplo n.º 1
0
        public void CheckInnLengthForEntity()
        {
            InnGeneratorService testExample = new InnGeneratorService();
            string result = testExample.Generate("entity");

            Assert.IsTrue(result.Length == 10);
        }
Ejemplo n.º 2
0
        public void GeneratorReturnsStringForEntity()
        {
            InnGeneratorService testExample = new InnGeneratorService();
            var result = testExample.Generate("entity");

            Assert.IsTrue(result is string);
        }
Ejemplo n.º 3
0
        public void CheckInnLengthForIndividual()
        {
            InnGeneratorService testExample = new InnGeneratorService();
            string result = testExample.Generate("individual");

            Assert.IsTrue(result.Length == 12);
        }
Ejemplo n.º 4
0
        public void GeneratorReturnsStringForIndividual()
        {
            InnGeneratorService testExample = new InnGeneratorService();
            var result = testExample.Generate("individual");

            Assert.IsTrue(result is string);
        }