Exemplo n.º 1
0
        static void Main(string[] args)
        {
            var helloWorld = HelloWorldFactory.Build(OutputType);

            helloWorld.Write(HelloWorld);

            Console.WriteLine("Press any key to exit.");
            Console.ReadKey();
        }
 public void ValidateNotImplimented(string outputCases)
 {
     var helloWorld = HelloWorldFactory.Build(outputCases);
 }
    public void ValidateFactoryType(string outputCases)
    {
        var helloWorld = HelloWorldFactory.Build(outputCases);

        Assert.IsInstanceOfType(helloWorld, typeof(ConsoleHelloWorld));
    }