assertEquals('detail',$view->type); } public function testDisplay() { $view = new ViewVcard; $view->bean = SugarTestContactUtilities::createContact(); $view->module = 'Contacts'; $view->display(); SugarTestContactUtilities::removeAllCreatedContacts(); $this->expectOutputRegex('/BEGIN\:VCARD/'); } }