public function testPopParser() { $parserMock = $this->getMock('FastFeed\\Parser\\ParserInterface'); $this->fastFeed->pushParser($parserMock); $this->assertInstanceOf('FastFeed\\Parser\\ParserInterface', $this->fastFeed->popParser()); }