public function setUp() { $this->dateFormatter = $this->getMock('Imbo\\Helpers\\DateFormatter'); $this->formatter = new XML($this->dateFormatter); }