public int GetGeneratorVersion(GetGeneratorVersionParameters opts)
        {
            try
            {
                var testGeneratorFactory = new TestGeneratorFactory();
                Console.WriteLine(testGeneratorFactory.GetGeneratorVersion().ToString());

                return(0);
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
                return(1);
            }
        }
예제 #2
0
 public void GetGeneratorVersion_should_return_a_version()
 {
     factory.GetGeneratorVersion().ShouldNotBeNull();
 }