static void Main(string[] args)
        {
            WriterFactory factory = new WriterFactory();
            factory.CreateWriter().Writeline("Yahoo.ua");

            Console.ReadLine();
        }
        public static void Main(string[] args)
        {
            var factory = new WriterFactory();
            IWriter writer = factory.CreateWriter();
            writer.Writeline("Get ready for my first hello world on c#!");
            writer.Writeline("Hello World!");

            writer.Writeline("Press any key ...");
            Console.ReadKey(true);
        }
        public void Should_Return_Not_Null_Writer()
        {
            // Arrange
            var factory = new WriterFactory();

            // Act
            IWriter writer = factory.CreateWriter();

            // Assert
            Assert.IsNotNull(writer);
        }