public function testClassNotMethodConvertHasResultMixedTheConvertedElement() { $this->writer->expects($this->exactly(1))->method('convertNot')->will($this->returnValue('converted')); $less = new Horde_Kolab_Server_Query_Element_Less('', ''); $not = new Horde_Kolab_Server_Query_Element_Not($less); $this->assertEquals('converted', $not->convert($this->writer)); }