Yahoo interview question

Develop a stack using TDD (test driven development).