assertTrue( isset( $cell->content ) && $cell->content === 'test' && isset( $cell->format ) && $cell->format === 'success' && isset( $cell->align ) && $cell->align === ezcConsoleTable::ALIGN_RIGHT, "ezcConsoleTableCell not correctly created." ); } public function testCtorFailure() { try { $cell = new ezcConsoleTableCell( 'test', 'success', 42 ); } catch ( ezcBaseValueException $e ) { $this->assertTrue(true); return; } $this->fail( "Exception not thrown on invalid align value." ); } } ?>