/** * @covers MicrosoftAzure\Storage\Common\Internal\Validate::isDateString */ public function testIsDateStringNotValid() { // Setup $this->setExpectedException('\\InvalidArgumentException'); $value = 'not a date'; // Test $result = Validate::isDateString($value, 'name'); // Assert }