/** * Verifica se parametro errado gera excecao * @expectedException DomainException */ public function testException() { TDateTime::createDate('nogsgsw'); }