001package headfirst.adapter.ducks;
002
003public class TurkeyTestDrive {
004        public static void main(String[] args) {
005                MallardDuck duck = new MallardDuck();
006                Turkey duckAdapter = new DuckAdapter(duck);
007
008                for(int i=0;i<10;i++) {
009                        System.out.println("The DuckAdapter says...");
010                        duckAdapter.gobble();
011                        duckAdapter.fly();
012                }
013        }
014}