public function testExceptionThrownIfCertDataIsInvalidWhenFetchingDateTime() { $this->setExpectedException('RuntimeException'); $this->mozCertData->setCertData('foo'); $this->mozCertData->getDateTime(); }