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