Ejemplo n.º 1
0
        public void Translates5SmallTestFilesWithoutAnException()
        {
            // Arrange
            FileUtility f = new FileUtility();

            string[] args     = f.GetArgs(5);
            bool     hadError = false;

            // Act
            try
            {
                TranslationHandler th = new TranslationHandler(args);
                th.StartTranslationObjects();
            }
            catch (Exception ex)
            {
                hadError = true;
            }

            // Assert
            Assert.AreEqual(hadError, false);
        }